def revive
import bend-kit-runner@0.13.0.1/runner.bend as Runnerimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
1128# Makes dead ticket id pending again at deadline (wall-clock ms), with its payload and a new retry budget.
1129# A ticket that is not dead does not change.
1130def revive(~A: Data, ~penc: A -> Bytes.Bytes, r: Runner<A>, +id: Nat, +deadline: Nat) -> IO(Ran(A)):
1131 commit(~A, ~penc, r, Revive{id, deadline})
Uses (7)
Used by (0)
No other definition uses this definition.