aleph 2025-02-22

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?

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

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

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