Skip to content

BlockSuite API Documentation / @blocksuite/block-std / Command

Type Alias: Command()<Input, Output>

Command<Input, Output> = (input, next) => void

Defined in: packages/framework/block-std/src/command/types.ts:18

Type Parameters

Input

Input = InitCommandCtx

Output

Output = {}

Parameters

input

Input & InitCommandCtx

next

(output?) => void

Returns

void