Skip to content

Just another javascript implementation of sleep to use with await

License

Notifications You must be signed in to change notification settings

Urucas/take-a-nap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

take-a-nap Build Status

Just another javascript implementation of sleep to use with await

Install

npm install --save take-a-nap

Usage

import { nap } from 'take-a-nap'

async function waiting() {
  await nap(3000)
}

About

Just another javascript implementation of sleep to use with await

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published