Would be nice to add support for signal from AbortController
Author: kofCreated Oct 1, 2024Updated Apr 15, 2025
Same as `addEventListener(event, fn, {signal})` now supports `signal`, it would be nice to have this in subscribe(fn, {signal}). Once people realise how nice abort controller is and start using it, not having it becomes quite annoying, because user would need to wrap unsubscribe into their own abort listener:
Source: nanostores/nanostores