@chengchengw/delay
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@chengchengw/delay

Resolve with the given value after the given time.

Usage

import delay from '@chengchengw/delay';


delay(1000, 'Hello World').then(console.info); 
// => "Hello World" after 1000ms

Readme

Keywords

none

Package Sidebar

Install

npm i @chengchengw/delay

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

9.78 kB

Total Files

11

Last publish

Collaborators

  • chengchengw