def Stream.ended

bend-kube-runtime@0.2.0.0 · src/stream.bend:52

import bend-kube-runtime@0.2.0.0/src/stream.bend as Stream
import Base
import bend-kube-runtime@0.2.0.0/src/http.bend as H

52def Stream.ended(eof: Bool, r: H.Resp) -> H.Resp:
53  match eof:
54    case True{}:
55      H.Http.eof(r)
56    case False{}:
57      r

Uses (3)

Used by (1)