Skip to content

DataStoreTransport.writeImmutable method

DataStoreTransport › writeImmutable

Publishes an immutable document, accepting only byte-identical retries at an occupied path.

Signature:

writeImmutable(path: string, value: unknown): Promise<void>

Parameters:

ParameterTypeDescription
pathstringVault-relative destination within this store.
valueunknownJSON-compatible payload.

Returns: Promise<void> — A promise that resolves after publication or an identical retry.