Function timeoutGenerator

  • Convinience shortcut for yielding timers

    Parameters

    • delay: number

    Returns TaskGenerator<unknown, Task<void>, void>

    generator to be be used with yield*

Generated using TypeDoc