Hummm, that looks like a lot of lines ! 🤣
It's more for async mechanism, not fetch only (so not abort controller)
It's more for async mechanism, not fetch only (so not abort controller)
Comments
Just listen for the abort event
https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/abort_event
That's why it's been added to the $effect api
https://github.com/sveltejs/svelte/pull/14753
But will we be able to "await" (and double await for the .json() also)
I think I don't have the right mental model. :(
subscribed