RuntimeReadWriteFn
RuntimeReadWriteFn<
TResult,TWriteAppInstance> = (instance) =>Promise<TResult>
Runs inside a read-write execution and receives the write context.
Type Parameters
Section titled “Type Parameters”TResult
Section titled “TResult”TResult
The value the execution resolves to.
TWriteAppInstance
Section titled “TWriteAppInstance”TWriteAppInstance extends WriteRuntimeInstance = WriteRuntimeInstance
The write context type, narrowed to an App’s generated context where one exists.
Parameters
Section titled “Parameters”instance
Section titled “instance”TWriteAppInstance
Returns
Section titled “Returns”Promise<TResult>

