def talk.read.running

bend-kit-http@0.38.2.0 · http.bend:6080

import bend-kit-http@0.38.2.0/http.bend as Http
import Base
import bend-kit-http@0.38.2.0/admission.bend as Admission

6080# A real host read slice returns its socket; no raced operation is abandoned.
6081# The original absolute phase survives slice timeouts and stop observations.
6082# Admitted streamed uploads retain their state and finish; unadmitted input closes.
6083def talk.read.running(held: Bool, inbox: Chan(Admission.Command)) -> IO(Bool):
6084  match held:
6085    case True{}: IO.pure(Bool, True{})
6086    case False{}: Admission.running(inbox)

Uses (6)

Used by (1)