set_idempotence_mode

Function set_idempotence_mode 

Source
pub fn set_idempotence_mode(idempotent: bool)
Expand description

Sets the current idempotence mode. The default is true. True means side-effects are treated idempotent and Golem guarantees at-least-once semantics. In case of false the executor provides at-most-once semantics, failing the worker in case it is not known if the side effect was already executed.