Skip to content

DataStoreTransport.write method

DataStoreTransport › write

Writes a complete document, refusing an oversized write before adapter mutation.

Signature:

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

Parameters:

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

Returns: Promise<void> — A promise that resolves once the adapter finishes writing.