def serve.stream.after

bend-kit-http@0.38.5.0 · http.bend:6604

import bend-kit-http@0.38.5.0/http.bend as Http
import Base

6604def serve.stream.after(~S: Type, next: Maybe<&1, Socket & Turn>) -> StreamServing<S>:
6605  match next:
6606    case None{}:
6607      StreamDone{}
6608    case Some{connection}:
6609      StreamCheck{False{}, Serving{connection, None{}}, None{}}

Uses (7)

Used by (1)