1.76.1 • Published 12 months ago

@biorate/async-loop v1.76.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

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

MIT

Copyright (c) 2021-present Leonid Levkin (llevkin)

1.76.1

12 months ago

1.74.0

1 year ago