def sh.of

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

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

4889def sh.of(hs: Hs) -> Sh:
4890  match hs:
4891    case HsWait{buf, k}:
4892      ShMore{buf, k}
4893    case HsBad{}:
4894      ShBad{None{}, False{}}
4895    case HsSeek{buf, from, k}:
4896      ShBad{None{}, False{}}
4897    case HsRes{res, rb, rest}:
4898      ShRes{res, rb, rest}

Uses (4)

Used by (1)