Fork me on GitHub
#reveal
<
2022-01-02
>
zxspectrr14:01:58

is there a way that i can cancel an evaluation sent to a reveal repl via cursive? with the default cursive repl, if an evaluation is taking a long time, i can kill it with the "cancel evaluation" button

zxspectrr14:01:13

but that button doesn't seem to be available if i run a repl in cursive powered by reveal...

zxspectrr14:01:41

eg kill this without having to wait for completion:

(do
    (Thread/sleep 10000)
    "test")

vlaaad17:01:56

Clojure's built-in REPLs that Reveal uses don't support cancelling

zxspectrr18:01:46

i ended up getting it to work in the end, i had to use nrepl which is what i was doing with cursive before

zxspectrr18:01:02

i didn't realise that i could run reveal in that way, now i get the best of both worlds :thumbsup:

👍 1