Skip to content

@sqlrooms/room-store / createRoomCommandExecutionContext

Function: createRoomCommandExecutionContext() ​

createRoomCommandExecutionContext<RS>(store, invocation?): RoomCommandExecutionContext<RS>

Type Parameters ​

Type Parameter
RS extends BaseRoomStoreState

Parameters ​

ParameterType
storeStoreApi<RS>
invocation?RoomCommandInvocationOptions

Returns ​

RoomCommandExecutionContext<RS>