def report

bend-kit-http@0.38.2.0 · completion.bend:34

import bend-kit-http@0.38.2.0/completion.bend as Completion
import Base

34def report(receipt: Receipt, status: U32, outcome: Outcome) -> IO(Unit):
35  match receipt:
36    case Unobserved{}:
37      IO.pure(Unit, Unit{})
38    case Observed{send}:
39      send(status, outcome)

Uses (6)

Used by (4)