type Msg

bend-kit-runner@0.13.0.1 · runner.bend:1045

import bend-kit-runner@0.13.0.1/runner.bend as Runner
import Base
import bend-kit-retry@0.3.0.0/retry.bend as Retry

1045# A message to the fiber that owns the runner. Ended: an attempt finished. Add and Drop: another fiber asks for an enqueue or a cancel.
1046type Msg<-A: Data> is Type:
1047  Ended{id: Nat, outcome: Retry.Outcome}
1048  Add{deadline: Nat, payload: A, reply: Chan(Out(Nat))}
1049  Drop{id: Nat, reply: Chan(Out(Unit))}

Uses (5)

Used by (27)