Skip to content

Interface: UseOnCommandOptions<R, P, T>

Defined in: src/wirestate-lit/commands/use-on-command.ts:11

Describes options for useOnCommand.

Type Parameters

Type ParameterDefault type
Runknown
Punknown
T extends CommandTypeCommandType

Properties

handler

ts
handler: CommandHandler<R, P, T>;

Defined in: src/wirestate-lit/commands/use-on-command.ts:19

The command handler function.


type

ts
type: T;

Defined in: src/wirestate-lit/commands/use-on-command.ts:15

The command type to listen for.