This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-07-19
Channels
- # babashka (39)
- # beginners (58)
- # calva (45)
- # clerk (9)
- # cljsrn (10)
- # clojure (23)
- # clojure-denver (13)
- # clojure-europe (39)
- # clojure-norway (6)
- # clojurescript (10)
- # clr (3)
- # cursive (5)
- # data-science (6)
- # datomic (27)
- # events (1)
- # fulcro (33)
- # graphql (5)
- # hyperfiddle (24)
- # introduce-yourself (4)
- # kaocha (1)
- # malli (8)
- # off-topic (23)
- # pedestal (5)
- # re-frame (2)
- # releases (4)
- # shadow-cljs (8)
- # xtdb (12)
Hey everyone 👋🙂 I’m pretty new to re-frame and have a question concerning https://github.com/superstructor/re-frame-fetch-fx .
My use case: I have batches of requests that belong together and that I would like to track with a single AbortController instance per batch.
My idea was to only pass an abort signal from one of these AbortControllers whenever I dispatch a fetch effect. Looking at the implementation, it seems that aborting is done internally via :request-id
, and each request is handled through a separate AbortController instance.
My question is now: can I avoid tracking each request-id individually and pass the same “batch signal” to multiple requests somehow?