Type Alias: FunctionalCommandHandler()<W, X>
Type Alias: FunctionalCommandHandler()<W, X>
type FunctionalCommandHandler<W, X> = (incomingEvent) => Promiseable<X>;
Represents FunctionalCommandHandler.
Type Parameters
W
W extends IncomingEvent = IncomingEvent
X
X = unknown
Parameters
incomingEvent
W
Returns
Promiseable<X>
