Sse.line.of: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/sse.bend as Sse Lines 66-76 of ezmcp@0.1.0.0/src/sse.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/src/sse.bend&start_line=66&end_line=76 import Base def line.of( cur: Maybe<&2, String>, last: String, +line: String, blank: Bool ) -> Sse: match blank: case True{}: end(cur, last) case False{}: line.data(cur, last, line, String.starts_with(line, "data:")) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.starts_with https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/sse.bend&name=Sse https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/sse.bend&name=end https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/sse.bend&name=line.data