pub async fn stackful<T, F: FnOnce() -> T>(f: F) -> T
Turn a synchronous function into a Future.
Future
stackful can be paired with wait to allow async function to be used within a sync function and it can be nested arbitarily deep.
stackful
wait