Skip to Content

OperationExecutor

OperationExecutor = (operation: QueuedOperation, encryptionContext: QueueEncryptionContext) => Promise<void>

Defined in: src/lib/db/queue/types.ts:86 

Executor function that runs a single queued operation. Provided by the consumer (e.g., useChatStorage) during flush.

Parameters

ParameterType

operation

QueuedOperation

encryptionContext

QueueEncryptionContext

Returns

Promise<void>

Last updated on