Type alias QueueHandler<Selected, Ending>

QueueHandler<Selected, Ending>: ((valueQueue, initialValue) => Promise<Ending>)

Type Parameters

  • Selected

  • Ending

Type declaration

    • (valueQueue, initialValue): Promise<Ending>
    • Function to process a queue of values including an initial starting value, leading to a final Ending result.

      Parameters

      Returns Promise<Ending>

Generated using TypeDoc