pub fn ready<T>(val: T) -> Ready<T> ⓘ
Creates a future that resolves to the provided value.
use futures_lite::future; assert_eq!(future::ready(7).await, 7);