Interface: ICommandHandler<W, X>
Interface: ICommandHandler<W, X>
Represents the CommandHandler function for the Node Cli Adapter.
Type Parameters
W
W
extends IIncomingEvent
= IIncomingEvent
X
X
= unknown
Properties
handle
handle: FunctionalEventHandler<W, X>;
match()?
optional match: (event) => boolean;
Parameters
event
IncomingEvent
Returns
boolean