Skip to content

@sqlrooms/documents / createDocumentCommands

Function: createDocumentCommands()

createDocumentCommands<TRoomState>(): RoomCommand<TRoomState>[]

Type Parameters

Type ParameterDefault type
TRoomState extends DocumentCommandStateDocumentCommandState

Returns

RoomCommand<TRoomState>[]