Stone.js API
Docs
Home
Preparing search index...
stone-js-node-cli-adapter/src/declarations
ICommandHandler
Interface ICommandHandler<W, X>
Represents the CommandHandler function for the Node Cli Adapter.
interface
ICommandHandler
<
W
extends
IncomingEvent
=
IncomingEvent
,
X
=
unknown
>
{
handle
:
FunctionalCommandHandler
<
W
,
X
>
;
match
?:
(
event
:
W
)
=>
boolean
;
}
Type Parameters
W
extends
IncomingEvent
=
IncomingEvent
X
=
unknown
Index
Properties
handle
match?
Properties
handle
handle
:
FunctionalCommandHandler
<
W
,
X
>
Optional
match
match
?:
(
event
:
W
)
=>
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
handle
match
Docs
Home
Stone.js API
Loading...
Represents the CommandHandler function for the Node Cli Adapter.