#[transaction]
Available on crate feature rt only.
Expand description
Proc macro to denote a Transaction
NOTE: Currently this macro only works on functions with a Result<T, E> return value. This is a
restriction which will be lifted soon.
§Example
ⓘuse balter::prelude::*;
#[transaction]
fn my_transaction(arg_1: u32, arg_2: &str) -> Result<String, MyError> {
...
}