def receipt.send

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

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

19def receipt.send(~D: Data, payload: D, +channel: Chan(Completion<D>), status: U32, outcome: Outcome) -> IO(Unit):
20  do IO<Unit>:
21    sent : Result<&1, &1, Completion<D>, Unit> <- Chan.send(Completion<D>, channel, Completion{payload, status, outcome})
22    return Unit{}

Uses (10)

Used by (1)