This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-08
Channels
- # adventofcode (49)
- # babashka (21)
- # babashka-sci-dev (12)
- # beginners (250)
- # calva (23)
- # cider (6)
- # clj-kondo (11)
- # cljsrn (8)
- # clojure (129)
- # clojure-europe (50)
- # clojure-france (8)
- # clojure-italy (6)
- # clojure-nl (14)
- # clojure-romania (7)
- # clojure-spec (21)
- # clojure-uk (3)
- # clojurescript (17)
- # conjure (1)
- # core-async (40)
- # core-logic (24)
- # core-typed (7)
- # datavis (2)
- # datomic (2)
- # emacs (29)
- # fulcro (10)
- # graalvm (6)
- # graphql (24)
- # gratitude (6)
- # jobs (1)
- # lsp (9)
- # malli (6)
- # missionary (1)
- # nextjournal (46)
- # off-topic (2)
- # other-languages (3)
- # pathom (5)
- # portal (2)
- # re-frame (37)
- # remote-jobs (1)
- # shadow-cljs (15)
- # spacemacs (9)
- # testing (6)
- # tools-deps (13)
- # vim (32)
- # xtdb (16)
How can I tell if a long-running evaluation finishes? In my emacs/Doom configuration, the evaluation of expression in cdier is asynchronous, when I submit to evaluate, I can still continue to use the emacs, but now, I have no way to tell if the evaluation completes or not. What would be the way to tell? Thanks!
It seems that once the evaluation is done, there will be a indication in the mini-buffer. Just trust, and be patient.
Return value gets shown like this?
Also, in the latest doom version, you should see a loader in your CIDER repl's modeline e.g.
(require '[clojure.core.async :as async])
(do (async/<!! (async/timeout 5000))
(println "done"))
sounds like a Turing-undecidable problem to me :)
in practice you can wrap a slow sexpr in println
so that it goes to your repl eventually, which seems a little more durable than the UI widget.
You also can inspect thread dumps (`Ctrl+\` , yourkit etc) and see if there's a thread named nrepl-worker-foo
that is currently doing something related to your sexpr.