Sse.fin: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/sse.bend as Sse Lines 92-96 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=92&end_line=96 import Base # the data the stream ends with: an unfinished event's, else the last one's def fin(text: Sse) -> String: match text: case Sse{cur, last}: Maybe.default(&2, String, cur, last) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.default https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/sse.bend&name=Sse