This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-17
Channels
- # announcements (24)
- # babashka (22)
- # beginners (49)
- # cider (16)
- # clj-kondo (8)
- # cljsrn (4)
- # clojure (87)
- # clojure-australia (7)
- # clojure-europe (44)
- # clojure-nl (4)
- # clojure-sweden (7)
- # clojure-uk (24)
- # clojurescript (5)
- # core-async (7)
- # cryogen (8)
- # cursive (22)
- # data-oriented-programming (2)
- # datomic (1)
- # emacs (6)
- # events (4)
- # fulcro (11)
- # google-cloud (1)
- # introduce-yourself (1)
- # java (8)
- # jobs (3)
- # lsp (10)
- # observability (1)
- # off-topic (12)
- # polylith (12)
- # re-frame (6)
- # reitit (36)
- # remote-jobs (1)
- # ring (4)
- # ring-swagger (1)
- # rum (4)
- # schema (1)
- # shadow-cljs (18)
- # sql (56)
- # tools-deps (33)
question when using shadow-cljs repl and go blocks I often want to print result of an async function but since I can’t block I need to do something like (go (pprint (<! (get-some-data))) and this will print the result to the js/console but in the repl I only see #object[cljs.core.async.impl.channels.ManyToManyChannel] and thus I need to tab back and forth from browser… is there any way to get the repl to wait for go blocks or promises?
My gut feeling is no. You might be able to replace the pprint with tap>
and check it through the shadow-cljs console on localhost:9630?
Otherwise it’d be a better question to ask in #shadow-cljs, since this is getting pretty deep into the internals of how shadow-cljs’ repl works
ok thanks
Did you know that ClojureScript only article on wikipedia is https://ru.wikipedia.org/wiki/ClojureScript language? Kudos to #clojure-russia 👏 And it barely exists on wikidata: https://www.wikidata.org/wiki/Q21659868 ClojureScript deserves better coverage!