@react-sextant/event-loop-delay
TypeScript icon, indicating that this package has built-in type declarations

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

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

    Package Sidebar

    Install

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

    Weekly Downloads

    6

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    68 kB

    Total Files

    11

    Last publish

    Collaborators

    • 1uokun