Function futures_lite::future::pending [−][src]
pub fn pending<T>() -> Pending<T>ⓘ
Creates a future that is always pending.
Examples
use futures_lite::future; future::pending::<()>().await; unreachable!();
pub fn pending<T>() -> Pending<T>ⓘ
Creates a future that is always pending.
use futures_lite::future; future::pending::<()>().await; unreachable!();