type Msg
import bend-kit-runner@0.13.0.1/runner.bend as Runnerimport 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))}