@spongex/pause
v1.0.0
Published
Pause for an amount of time
Downloads
8
Readme
pause
Pause for an amount of time in miliseconds
Install to your existing project using:
npm i @spongex/pause
Include ECMAScript:
import { pause } from '@spongex/pause'
Include CommonJS:
const { pause } = require('@spongex/pause')
Usage
// Pause for one second
await pause(1000)
Changelog
1.0.0
- Initial release