BlockSuite API Documentation / @blocksuite/block-std / Command
Type Alias: Command()<In, Out, InData>
Command<
In
,Out
,InData
>: (ctx
,next
) =>void
Type Parameters
• In extends BlockSuite.CommandDataName
= never
• Out extends BlockSuite.CommandDataName
= never
• InData extends object
= object
Parameters
• ctx: CommandKeyToData
<In
> & InitCommandCtx
& InData
• next
Returns
void
Defined in
packages/framework/block-std/src/command/types.ts:21