wait-util
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Simple utility function to wait:

export async function wait(ms: number) {
  return new Promise((resolve) => setTimeout(resolve, ms));
}

Package Sidebar

Install

npm i wait-util

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

3.99 kB

Total Files

7

Last publish

Collaborators

  • jirei