type SEv
import bend-kube-runtime@0.2.0.0/src/stream.bend as Streamimport Base
import bend-kube-runtime@0.2.0.0/src/http.bend as H
22# What the loop just saw: bytes (or a failure) from a recv, or the decoder
23# after them with the body bytes it decoded, whether the server failed or
24# the stream is over, whether the answer is 200, and whether its head came.
25type SEv is Type:
26 SGot{sock: Socket, resp: H.Resp, r: Result<&1, &1, U32 & String, List<&2, U32>>}
27 SChk{sock: Socket, resp: H.Resp, body: List<&2, U32>, err: Maybe<&2, String>, ok: Bool,
28 headed: Bool, empty: Bool, fin: Bool, code: U32}