Hi everyone, Thanks to everyone that’s contributed to aleph. Really cool tool! I just need to know, is there a way to find out when a websocket is clodes? For example, on http-kit there’s on-close function that you can provide.
@lilokoego the manifold stream
you get from the websocket will close when the websocket closes - you can use stream/on-closed
to register a callback: https://github.com/clj-commons/manifold/blob/master/src/manifold/stream.clj#L209
Awesome, thanks! Both bits of information are very helpful!