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

1.0.0 • Public • Published

μDelay

A typescript delay utility.

Features

  • waits for desired amount of milliseconds
  • in promise form
  • smallest possible size and lightest cpu load

Usage

install

npm i udelay

import

import udelay from 'udelay'

use μDelay

Give μDelay an object and the desired keys to delay.

await uDelay(1000, testFn);

Package Sidebar

Install

npm i udelay

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.28 kB

Total Files

6

Last publish

Collaborators

  • xkore