Skip to content

@sqlrooms/room-store / validateCommandInput

Function: validateCommandInput() ​

validateCommandInput<RS>(command, input, context): Promise<unknown>

Type Parameters ​

Type Parameter
RS extends BaseRoomStoreState

Parameters ​

ParameterType
commandRoomCommand<RS>
inputunknown
contextRoomCommandExecutionContext<RS>

Returns ​

Promise<unknown>