ARKI_ASYNC_E005

thrownThis error is thrown. It stops your code unless you catch it. Fix the cause below; catching it only hides the problem.

What happened

A `concurrency` limit is not a positive integer or `Infinity`.

Fix

Pass a whole number of at least 1, or leave `concurrency` out for no limit.

Check the fix

bun run test

Run it after the fix. It passes when the fix worked.

Where it comes from

Package
@arki/async
Version
0.1.1 · next release candidate
Source
src/errors.ts:51