async.cancelled
failureThis is a failure. A function returns it as a value, so your code keeps running and you decide what to do.
What happened
Owned execution was cancelled; the external reason stays private.
Fix
Honor the signal and handle cancellation at the calling boundary.
Check the fix
bun run testRun 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:148