Task: (() => Promise<void>)

Type representing a task that can be posted to a work queue. A task is defined as a function that returns a promise which resolves to void.

Type declaration

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

Generated using TypeDoc