1.0.0 • Published 3 years ago
@divine-dkh/sleep v1.0.0
sleep
Sleeps for some time
Installation
npm install @dkh-dev/sleep
Example
'use strict'
const sleep = require('@dkh-dev/sleep')
const main = async () => {
// const data = await request()
// sleeps for 1s
await sleep(1000)
}
main()
1.0.0
3 years ago