Type alias Worker<T>

Worker<T>: (() => Promise<T>)

Type Parameters

  • T

Type declaration

    • (): Promise<T>
    • Returns Promise<T>

Generated using TypeDoc