std :: async::future
Struct std::YieldNow
struct YieldNow {
int yielded;
}Pending once (after waking itself), then Ready: gives the executor a chance to run other tasks (Rust's yield_now / tokio::task::yield_now).
std :: async::future
struct YieldNow {
int yielded;
}Pending once (after waking itself), then Ready: gives the executor a chance to run other tasks (Rust's yield_now / tokio::task::yield_now).