synced-delay
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

Synced Delay

GitHub license codecov npm version Known Vulnerabilities Dependency count npm bundle size nodejs version Github CI GitHub Workflow Status Type definitions Website CodeFactor Package Quality GitHub stars

Bad method to "pause" process.

Install

npm i synced-delay

Usage

import {syncedDelay, SyncedDelayResultType} from 'synced-delay';

console.log(new Date()); // current date/time

syncedDelay(3000); // "pause" process for 3 seconds

console.log(new Date());  // current date/time, but plus 3 seconds

License

See license.

Package Sidebar

Install

npm i synced-delay

Weekly Downloads

15

Version

1.1.3

License

MIT

Unpacked Size

17.1 kB

Total Files

15

Last publish

Collaborators

  • webbestmaster