-type atomic_op(Effect) :: {w, _, _} |
{d, _} |
{then, Effect}.
A type of operation in a batch accepted by classy_table:atomically/2.
{w, Key, Value}
equivalent to classy_table:write(Tab, Key, Value)
{d, Key}
equivalent to classy_table:delete(Tab, Key)
{then, Any}
ignored by classy.
If atomic batch was successfully committed,
then batch elements like this are returned as is.