Dataset.release
Dataset.release([{ releaseNotes, waitForFinalization, signal }]) → Promise<Dataset>
Releases the dataset's next version, making it the current version.
Parameters:
releaseNotes : string, optional
Notes describing the changes in this version.
waitForFinalization : boolean, default false
Whether to wait for the release to be finalized before resolving. The release takes effect immediately, but the version's data is finalized in the background, and until that finishes, the dataset's versions can't be released, unreleased, or deleted. Set this to true if you'll make another such change right after this one, e.g., when releasing several versions in quick succession.
signal : AbortSignal, optional
Stops waiting for the release to be finalized. This doesn't cancel the release.
Returns: Promise<Dataset>, this dataset, at the newly released version.
Was this helpful?

