Fork me on GitHub
#vim
<
2021-12-22
>
zyxmn22:12:40

Folks using fireplace , how do you view prints in future blocks . For example , if you wanna see the print result from this (def f (future (Thread/sleep 10000) (println "done") 100))

zyxmn23:12:53

guess I can just use clojure.tools.logging , I get the logs on the repl terminal. not sure where println message get sent to though

mynomoto23:12:02

I would use tap> for that. You can put the value on a atom and read from there or you could use portal that is an amazing tool.

💯 2
👍 1
noisesmith23:12:14

yeah, that avoids the way println breaks in parallel code too