def last
import ezmcp@0.1.0.0/src/sse.bend as Sseimport Base
98# the data of the last event that has any; an event the stream cut off
99# before its blank line still counts
100def last(body: String) -> String:
101 fin(lines(String.lines(body), Sse{None{}, ""}))