Interface: UseOnCommandOptions<D, R>
Defined in: src/wirestate-lit/commands/use-on-command.ts:11
Represents options for useOnCommand.
Type Parameters
| Type Parameter | Default type |
|---|---|
D | unknown |
R | unknown |
Properties
handler
ts
handler: CommandHandler<D, R>;Defined in: src/wirestate-lit/commands/use-on-command.ts:19
The command handler function.
type
ts
type: CommandType;Defined in: src/wirestate-lit/commands/use-on-command.ts:15
The command type to listen for.