sleep
Asynchronously wait for time to pass
73 bytes
since v12.1.0
Usage
The _.sleep
function allows you to delay in milliseconds.
import * as _ from 'radashi'
await _.sleep(2000) // => waits 2 seconds
Asynchronously wait for time to pass
The _.sleep
function allows you to delay in milliseconds.
import * as _ from 'radashi'
await _.sleep(2000) // => waits 2 seconds