def talk.read.running
import bend-kit-http@0.38.5.0/http.bend as Httpimport Base
import bend-kit-http@0.38.5.0/admission.bend as Admission
6072# A real host read slice returns its socket; no raced operation is abandoned.
6073# The original absolute phase survives slice timeouts and stop observations.
6074# Admitted streamed uploads retain their state and finish; unadmitted input closes.
6075def talk.read.running(held: Bool, inbox: Chan(Admission.Command)) -> IO(Bool):
6076 match held:
6077 case True{}: IO.pure(Bool, True{})
6078 case False{}: Admission.running(inbox)