reveal

zxspectrr 2022-01-02T14:25:58.159200Z

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

zxspectrr 2022-01-02T14:26:13.159700Z

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

zxspectrr 2022-01-02T14:28:41.160100Z

eg kill this without having to wait for completion:

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

vlaaad 2022-01-02T17:47:56.160300Z

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

zxspectrr 2022-01-02T18:11:46.160800Z

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

zxspectrr 2022-01-02T18:12:02.161300Z

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

👍 1