@node-api-toolkit/wait

1.0.0 • Public • Published

Wait

Returns a promise that resolves after specified milliseconds

Usage

import wait from "@node-api-toolkit/wait";

(async () => {
  // waits a second
  await wait(1000);
})();

Readme

Keywords

none

Package Sidebar

Install

npm i @node-api-toolkit/wait

Weekly Downloads

13

Version

1.0.0

License

GPL-3.0

Unpacked Size

1.95 kB

Total Files

8

Last publish

Collaborators

  • tolicodes