def step.abandoned
import bend-kit-runner@0.13.0.1/runner.bend as Runnerimport Base
import bend-kit-scheduler@0.4.1.0/queue.bend as Q
249# Abandon takes the ticket from the running list, as Complete does, and keeps it with its payload.
250def step.abandoned(~A: Data, r: Q.State<A> & Maybe<&2, Q.Ticket<A>>, ts: Tries(), ds: Graves(A), bs: Breakers(), w: Why, +at: Nat) -> State<A>:
251 (q, t) = r
252 State{q, ts, dead.bury(~A, t, ds, w, at), bs}