Stone.js API
    Preparing search index...

    Type Alias FunctionalCommandHandler<W, X>

    FunctionalCommandHandler: (incomingEvent: W) => Promiseable<X>

    Represents FunctionalCommandHandler.

    Type Parameters

    • W extends IncomingEvent = IncomingEvent
    • X = unknown

    Type Declaration

      • (incomingEvent: W): Promiseable<X>
      • Parameters

        • incomingEvent: W

        Returns Promiseable<X>