def start.ok

bend-kit-llm@0.13.0.1 · llm.bend:466

import bend-kit-llm@0.13.0.1/llm.bend as Llm
import Base
import bend-kit-http@0.38.1.1/http.bend as Http

466def start.ok(good: Bool, +status: U32, h: Http.Stream) -> IO(Result<&1, &1, Err, Http.Stream>):
467  match good:
468    case True{}:
469      IO.pure(Result<&1, &1, Err, Http.Stream>, Done{h})
470    case False{}:
471      start.refused(status, h)

Uses (8)

Used by (1)