store

abstract suspend fun store(document: Document, data: Payload): String(source)

Stores a document and its associated payload in the storage.

Return

A string representing the unique identifier of the stored document.

Parameters

document

The document to be stored.

data

The payload associated with the document.