def outbox.ack
import bend-kit-commands@0.4.0.0/commands.bend as Commandsimport Base
442# Removes a delivered effect. Deliver before ack: a crash between them delivers the effect again.
443def outbox.ack(st: Store, seq: U32) -> Run(Unit):
444 Store{db, begin, commit, rollback, find, read, save, del, keep, emit} = st
445 once(Unit, db, "DELETE FROM commands_outbox WHERE seq = ?", +s => outbox.ack.run(s, seq))
Uses (6)
Used by (0)
No other definition uses this definition.