aleph

2025-02-22T17:28:56.143299Z

does anyone have an example of how to create a TCP server in aleph and transform the stream of byte arrays into a stream of lines, i.e. break the incoming data by the newline character?

dergutemoritz 2025-02-24T09:47:10.446879Z

as in (bs/to-line-seq s) but then you'll have a lazy seq of lines, not a stream (as in manifold stream)

dergutemoritz 2025-02-24T09:47:54.809079Z

manifold.stream/->source if you want to convert that back into a stream then

2025-02-25T14:53:59.907979Z

sorry for the late reply. I also found a way to do what I wanted using gloss. Thanks for the resources you shared, they are useful as well!

👍 1