Skip to content

RuntimeReadWriteFn

RuntimeReadWriteFn<TResult, TWriteAppInstance> = (instance) => Promise<TResult>

Runs inside a read-write execution and receives the write context.

TResult

The value the execution resolves to.

TWriteAppInstance extends WriteRuntimeInstance = WriteRuntimeInstance

The write context type, narrowed to an App’s generated context where one exists.

TWriteAppInstance

Promise<TResult>