3.0.1 • Published 4 months ago

detain v3.0.1

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

Library brings serial delay for performing tasks on array of promises or regular items

Example

const array = await detain({
  array: ['1', 2, 8, 155];
  delayMs: 1000,
  each: (item) => asyncFunction(item),
  onEach: (resolvedValue) => {
    console.log(resolvedValue)
  },
})
3.0.1

4 months ago

2.0.2

4 months ago

2.0.1

4 months ago

2.0.0

4 months ago

1.0.1

5 months ago

1.0.0

5 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago