--- date: 2020-11-20 id: 048ee80a-c058-4a41-8087-9ce3649302ba title: pending --- # Description pending[^1] creates a future which never resovles, representing a computation that never finishes. # Declaration ``` rust pub fn pending() -> Pending ``` # Notable traits ``` rust impl Future for Pending type Output = T; ``` # Examples ``` rust use core::future; let future = future::pending(); let () = future.await; unreachable!(); ``` # Footnotes [^1]: