macro_rules! async_closure {
( [$( $x:expr );*] $y:expr ) => { ... };
}
Expand description
Generates an asynchronous closure that rebinding the provided expressions and evaluates a given expression within the async context. This macro takes a list of expressions to be rebound using a helper rebinding macro, then returns an async move block that evaluates the specified expression while capturing the rebound variables.