async-func
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.
Installation
To install async-func
run cmd:
Usage
use *;
let string: String = String from;
let number: i32 = 1;
let func = async_func!;
func.await;
let func = async_func!;
func.await;
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.
Contact
For any inquiries, please reach out to the author at ltpp-universe root@ltpp.vip.