jmap-kit
    Preparing search index...

    Type Parameters

    Implements

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Dispatch each invocation or error in the list to the appropriate handler function.

      Parameters

      • handlers: InvocationHandlerMap

        An object mapping method IDs (symbols), method names (e.g., "Mailbox/get"), data types (e.g. "Mailbox"), or the special property error to handler functions. - Each handler receives the invocation of the appropriate type. - The error property, if present, will be called for error invocations.

      • OptionaldefaultHandler: HandlerFn

        Optional handler for invocations with no registered handler.

      Returns Promise<void>

      A promise that resolves when all handlers have been called.