aleph

mccraigmccraig 2020-02-13T08:03:35.043900Z

yeah, that seems to make sense - it's a bit of an unfamiliar use-case for me - we have precisely 1 duplex stream in our whole (decent sized - 238 namespaces require manifold.stream) codebase, and that, like yours, is the websocket stream. most of our stream ops are data-transformations

mccraigmccraig 2020-02-13T08:04:58.045400Z

there is also the xform based stream constructor you could use - (s/stream 0 (map ->json)) although you'd have to use a s/connect too, so i'm not sure that's any more succinct than s/connect-via

erik 2020-02-13T15:36:42.045600Z

yes