Stone.js API
    Preparing search index...

    Type Alias FunctionalEventHandler<IncomingEventType, OutgoingResponseType>

    FunctionalEventHandler: (
        event: IncomingEventType,
    ) => Promiseable<OutgoingResponseType>

    Represents a functional event handler.

    Type Parameters

    • IncomingEventType extends IIncomingEvent

      The type representing the incoming event.

    • OutgoingResponseType = unknown

      The type representing the outgoing response.

    Type Declaration