@biorate/async-loop
v1.76.1
Published
Async loop function
Downloads
4
Readme
Async loop
Async loop implementation
Examples:
import { AsyncLoop } from '@biorate/async-loop';
(async () => {
let i = 0;
const loop = new AsyncLoop(
() => {
console.log(++i); // 1, 2, 3 ... e.t.c
},
console.error,
1000,
);
})();
Learn
- Documentation can be found here - docs.
Release History
See the CHANGELOG
License
Copyright (c) 2021-present Leonid Levkin (llevkin)