This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-22
Channels
- # beginners (124)
- # boot (7)
- # cider (73)
- # cljs-dev (37)
- # cljsrn (6)
- # clojure (85)
- # clojure-greece (4)
- # clojure-italy (67)
- # clojure-nl (6)
- # clojure-russia (4)
- # clojure-spec (6)
- # clojure-uk (48)
- # clojurescript (26)
- # cursive (5)
- # data-science (23)
- # datomic (63)
- # editors (5)
- # emacs (4)
- # graphql (13)
- # immutant (2)
- # lumo (4)
- # mount (3)
- # off-topic (1)
- # onyx (4)
- # pedestal (7)
- # portkey (10)
- # re-frame (14)
- # reagent (10)
- # ring-swagger (18)
- # shadow-cljs (97)
- # spacemacs (1)
- # tools-deps (9)
- # vim (1)
- # yada (13)
They were also asking about async state. Say I want to test if an async function times out - say the promise throws or rejects, is my promise the state?
I would say says yes, but the should have have two states - one is conn
and one is async-fn-using-conn
?
Again, my guts says yes - also reading this issue now:https://github.com/tolitius/mount/issues/84
@richiardiandrea 1. dependency graph: https://github.com/tolitius/mount/issues/12#issuecomment-167150505 2. "test if an async function times out": need a bit more context, i.e. why do you need mount to test an async function
@tolitius will come up with an example soon, but basically I have a postgres client with a .connect
method that I would like to test