def last

ezmcp@0.1.0.0 · src/sse.bend:98

import ezmcp@0.1.0.0/src/sse.bend as Sse
import 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{}, ""}))

Uses (6)

Used by (1)