Function rest_callback

  • Allegro Alpha

    Rest callback

    Parameters

    • time: number
    • Optional callback: (() => void)
        • (): void
        • Returns void

    Returns Promise<void>

    Remarks

    Like rest(), but for non-zero values continually calls the specified function while it is waiting for the required time to elapse. If the provided ‘callback’ parameter is NULL, this function does exactly the same thing as calling rest().

    1.6.13

Generated using TypeDoc