Fork me on GitHub
#core-async
<
2022-01-05
>
Ben Sless00:01:07

Building a complex DAG (or even just DG) isn't a problem. What's important is understanding it's a single component. Instead of manually managing its state, I prefer a cascading shutdown - stop all the processes putting into the dag, wait for all the output channels to close, then collect whatever internal resources you also need to clean up

Joshua Suskalo20:01:39

Is there a way to install an alternate logger for exceptions caught in a go block?

hiredman21:01:54

you should catch and handle exceptions as you see fit

Alex Miller (Clojure team)21:01:35

channels can take an exception handler. exceptions in a go block are going to go to the uncaught exception handler for the thread - so you can set the default uncaught exception handler to tap into those.

Joshua Suskalo21:01:51

Alright, thanks