This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-25
Channels
- # beginners (33)
- # cider (40)
- # clara (28)
- # cljs-dev (38)
- # cljsrn (5)
- # clojure (197)
- # clojure-greece (1)
- # clojure-italy (7)
- # clojure-losangeles (1)
- # clojure-nl (10)
- # clojure-spec (32)
- # clojure-uk (154)
- # clojurescript (48)
- # core-async (33)
- # cursive (32)
- # datomic (19)
- # duct (1)
- # fulcro (10)
- # graphql (6)
- # jobs (1)
- # lumo (1)
- # mount (6)
- # off-topic (48)
- # onyx (12)
- # other-languages (2)
- # re-frame (77)
- # reagent (19)
- # reitit (4)
- # ring (5)
- # ring-swagger (18)
- # rum (4)
- # shadow-cljs (52)
- # specter (12)
- # tools-deps (47)
not following ) but if it keeps state and can't be localized (i.e. (let [foo (promise p)] do with foo...)
) it could be a "state". are you using this promise as you would use a "core.async" channel?
@tolitius I am using it as part of a general flow, which, among other things, does some external call and returns a promise (or a channel actually)
so at the moment I have a protocol of async functions
and I am testing them by swapping in my own implementation during testing - say one that times out
it works well but the record implementing the protocol feels unnecessary