A Rust library providing macros to simplify the creation of asynchronous closures with external state captured by move. Useful for structuring asynchronous code with ease and clarity.
//! future-fn
//!//! A Rust library providing macros to simplify the creation of
//! asynchronous closures with external state captured by move.
//! Useful for structuring asynchronous code with ease and clarity.
modr#macro;#[cfg(test)]modtest;#[cfg(test)]usestd::time::Duration;#[cfg(test)]usetokio::time::sleep;