Type alias ProcessFunction<T>

ProcessFunction<T>: ((event) => Promise<T>)

Type Parameters

  • T

Type declaration

    • (event): Promise<T>
    • The function to invoke to process (send) events in the queue.

      Parameters

      Returns Promise<T>

      Resolved/rejected depending on the outcome of the request.

Generated using TypeDoc