This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-04
Channels
- # announcements (27)
- # babashka (1)
- # beginners (70)
- # calva (3)
- # cljfx (4)
- # clojure (37)
- # clojure-australia (1)
- # clojure-europe (1)
- # clojure-germany (6)
- # clojurescript (5)
- # conjure (4)
- # cursive (2)
- # data-science (3)
- # datomic (20)
- # events (1)
- # fulcro (9)
- # graalvm (7)
- # jobs-discuss (3)
- # joker (1)
- # malli (2)
- # pathom (2)
- # re-frame (8)
- # reitit (1)
- # shadow-cljs (44)
- # sql (16)
- # xtdb (8)
what would it take to be able to return manifold deferreds from resolvers instead of core.async channels?
You can do something similar to converting promises to channels wrapping one in another. In the end you need to provide a channel (a promise-channel preferably) to Pathom, some ways you can make it easier on you are:
- create a ::pc/transform
operation, so you can easely plug specific resolvers to accept manifold
- if you wanna use it a lot, you can wrap a plugin using ::pc/wrap-resolve
so you can detect manifold outputs and convert then to core.async channels