Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@react-sextant/event-loop-delay

0.1.1 • Public • Published

event-loop-delay

npm version Downloads/month Build Status Coverage Status Dependency Status

Call at constant intervals in event-loop

💿 Installation

Use npm to install then use a bundler.

npm install @react-sextant/event-loop-delay

Or download from dist directory.

📖 Usage

import {Delay} from '@react-sextant/event-loop-delay'
 
let delay = new Delay(500); // Call at interval 500ms
 
delay(function(){
  //...
})

🔧 Contribution

before npm run build need npm run regenerator to make a Delay-es5.js for UMD version

Install

npm i @react-sextant/event-loop-delay

DownloadsWeekly Downloads

9

Version

0.1.1

License

MIT

Unpacked Size

68 kB

Total Files

11

Last publish

Collaborators

  • avatar