blob: 1707107ef90f740923395459056d46155dcab027 [file] [log] [blame]
//! Await
//!
//! This module contains a number of functions and combinators for working
//! with `async`/`await` code.
use core::marker::Unpin;
use futures_core::future::Future;
#[macro_use]
mod poll;
pub use self::poll::*;
#[macro_use]
mod pending;
pub use self::pending::*;
// Primary export is a macro
#[macro_use]
mod join;
// Primary export is a macro
#[macro_use]
mod select;
// Primary export is a macro
#[macro_use]
mod spawn;
#[doc(hidden)]
#[inline(always)]
pub fn assert_unpin<T: Future + Unpin>(_: &T) {}