def serve.stream.after
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
6612def serve.stream.after(~S: Type, next: Maybe<&1, Socket & Turn>) -> StreamServing<S>:
6613 match next:
6614 case None{}:
6615 StreamDone{}
6616 case Some{connection}:
6617 StreamCheck{False{}, Serving{connection, None{}}, None{}}