Skip to content

DataStoreLocations.relocate method

DataStoreLocations › relocate

Announces a transition durably at the anchor, then copies and verifies before activation. Retrying the same destination finishes an interrupted copy.

Signature:

relocate(location: DataStoreLocation): Promise<void>

Parameters:

ParameterTypeDescription
locationDataStoreLocationRequested destination.

Returns: Promise<void> — A promise that resolves when the new writer is ready.