Type alias ProcessFunction<T>

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

Type Parameters

  • T

Type declaration

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

      Returns

      Resolved/rejected depending on the outcome of the request.

      Parameters

      Returns Promise<T>

Generated using TypeDoc