Search results
73 packages found
Throttle promise-returning & async functions
Run any function on an interval using the more reliable setTimeout strategy.
像多线程那样去轮询多个状态,不同的状态满足后去执行不同的任务
module to schedule functions at variable time
a simple timer that runs a piece of code repeatedly with an interval of n milliseconds, until stopped
A simple worker to do work in intervals
Easy-polling aims to achieve one simple and pure task:\ Check result of an asynchronous task until the result matched required criteria.\ This process is so called "polling" or "poll"!.
Async aware setInterval. Run functions at an interval without overlapping previous calls.
Repeat until the predicate returns true and resolves a Promise
Delay a promise a specified amount of time
generate integers after an constant amount of time and a function to reset clock
Execute and manage your code asynchronously with workers and promise.
- promise
- javascript
- queue
- line
- process
- func
- limit
- execution
- nodejs
- workers
- worker
- error
- manager
- asynchronous
- View more
Promise based generic easy polling
A function that starts an asynchronous pulse sequence which invokes a handler function at the specified interval until either the specified duration has elapsed, or the sequence is cancelled. This is the ES2017 Build.
A function that causes the current execution context to be suspended (thereby surrendering execution to any scheduled background tasks such as timeout, interval, and immediate events) for the specified duration. This is the ES2017 build.
You've tried setTimeout+promises before but have you tried setTimeout+promises on abortsignal? & setInterval too.
- cancellable
- cancelable
- abort
- abortcontroller
- abortsignal
- setTimeout
- setInterface
- async
- generator
- time
- sleep
- promises
- promisify
- stdlib
[![NPM version][npm-image]][npm-url] [![npm download][download-image]][download-url]
jobr is a simple, lightweight library that makes easy to create and manage recurrent jobs. Works in browser and node environment.
An easy way to run reliable polling without messing with setTimeout.