Repository navigation
feat: support abort controller - #1644
Conversation
|
Oh I hadn't seen this. Anything blocking? |
|
I think this AbortSignal support is the one reason why my deck.gl-raster demos are slower on (I don't put decoding on a worker yet either, but it looks like it's a network slowdown, not a CPU-bound lag) Let me know if I can help out. I think my PR in #1646 didn't touch the middlewares at all |
I just need to fix the unit tests, I may have some time later today to do that. |
|
I would try to help but I can't get the tests to run locally. and that errored (even on master) with: Running |
🤔 what version of node are you running? I can reproduce this if I downgrade to node20. the |
|
Maybe I was using node 20.. I have no idea; I'll check on Monday. Thanks! |
|
Ah yes I was using Node 20. Switching to Node 24 I can run and pass the tests. Sorry for the noise |
🤖 I have created a release *beep* *boop* --- <details><summary>fs: 11.3.2</summary> ## [11.3.2](fs-v11.3.1...fs-v11.3.2) (2026-02-21) ### Dependencies * The following workspace dependencies were updated * dependencies * @chunkd/source bumped from ^11.1.0 to ^11.2.0 * @chunkd/source-memory bumped from ^11.0.2 to ^11.0.3 * @chunkd/source-file bumped from ^11.0.1 to ^11.0.2 * @chunkd/source-http bumped from ^11.1.1 to ^11.2.0 </details> <details><summary>fs-aws: 11.4.2</summary> ## [11.4.2](fs-aws-v11.4.1...fs-aws-v11.4.2) (2026-02-21) ### Dependencies * The following workspace dependencies were updated * dependencies * @chunkd/fs bumped from 11.3.1 to 11.3.2 * @chunkd/source-aws bumped from 11.0.4 to 11.0.5 </details> <details><summary>middleware: 11.2.0</summary> ## [11.2.0](middleware-v11.1.0...middleware-v11.2.0) (2026-02-21) ### Features * support abort controller ([#1644](#1644)) ([7fc54da](7fc54da)) ### Dependencies * The following workspace dependencies were updated * dependencies * @chunkd/source bumped from ^11.1.0 to ^11.2.0 </details> <details><summary>source: 11.2.0</summary> ## [11.2.0](source-v11.1.0...source-v11.2.0) (2026-02-21) ### Features * support abort controller ([#1644](#1644)) ([7fc54da](7fc54da)) </details> <details><summary>source-aws: 11.0.5</summary> ## [11.0.5](source-aws-v11.0.4...source-aws-v11.0.5) (2026-02-21) ### Dependencies * The following workspace dependencies were updated * dependencies * @chunkd/source bumped from ^11.1.0 to ^11.2.0 </details> <details><summary>source-file: 11.0.2</summary> ## [11.0.2](source-file-v11.0.1...source-file-v11.0.2) (2026-02-21) ### Dependencies * The following workspace dependencies were updated * dependencies * @chunkd/source bumped from ^11.1.0 to ^11.2.0 </details> <details><summary>source-http: 11.2.0</summary> ## [11.2.0](source-http-v11.1.1...source-http-v11.2.0) (2026-02-21) ### Features * support abort controller ([#1644](#1644)) ([7fc54da](7fc54da)) ### Dependencies * The following workspace dependencies were updated * dependencies * @chunkd/source bumped from ^11.1.0 to ^11.2.0 </details> <details><summary>source-memory: 11.0.3</summary> ## [11.0.3](source-memory-v11.0.2...source-memory-v11.0.3) (2026-02-21) ### Dependencies * The following workspace dependencies were updated * dependencies * @chunkd/source bumped from ^11.1.0 to ^11.2.0 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Motivation
Abort signals allow consumers to cancel inflight requests, not all sources support abort controllers so YMMV
Modifcation
Add optional
signalto all fetch requests to sources to abort.also Fixes #1645