Macro futures_util::pending[][src]

macro_rules! pending {
    () => { ... };
}

A macro which yields to the event loop once. This is similar to returning Poll::Pending from a Future::poll implementation. If pending! is used, the current task should be scheduled to receive a wakeup when it is ready to make progress.

This macro is only usable inside of async functions, closures, and blocks.