Motivation
Since AsyncFn and therefore async closures have been stabilised in rust version 1.85.0 a few months back, are there any plans to support this for example in transactions?
Proposed Solutions
For example the arguments to the transaction functions can be changed to instead receive impl AsyncFnOnce() -> Result<T, E> or if this is to late for version 2.0.0, another pair of transaction functions can be added which receive the async closure.
Motivation
Since
AsyncFnand therefore async closures have been stabilised in rust version 1.85.0 a few months back, are there any plans to support this for example in transactions?Proposed Solutions
For example the arguments to the transaction functions can be changed to instead receive
impl AsyncFnOnce() -> Result<T, E>or if this is to late for version 2.0.0, another pair of transaction functions can be added which receive the async closure.