Interface: UseOnCommandOptions<R, P, T>
Defined in: src/wirestate-lit/commands/use-on-command.ts:11
Describes options for useOnCommand.
Type Parameters
| Type Parameter | Default type |
|---|---|
R | unknown |
P | unknown |
T extends CommandType | CommandType |
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.