Fork me on GitHub
#aleph
<
2018-12-27
>
lxsameer16:12:25

hey folks, is there any way to create an stream which doesn’t get closed when an unhandled exception happen ?

kachayev16:12:47

do you mean in this case? https://clojurians.slack.com/archives/C0G922PCH/p1545583944000800 when something happens in user’s code that executes on s/take!?

lxsameer16:12:09

yeah it’s related

lxsameer16:12:05

@U052BJL37 any idea my friend ?

kachayev16:12:24

I assume we’re talking about non-blocking case, when s/take! returns deferred, right?

kachayev21:12:41

I’m not sure I do understand the question correctly… when I have an exception raised somewhere in the chain of callbacks attached to the deferred returned by take!… nothing closes the stream