future-fn 0.3.19

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.
Documentation
1
2
3
4
5
6
7
mod future;

use future_fn::*;

use std::time::Duration;

use tokio::time::sleep;