Function af_core::future::try_resolve[][src]

pub fn try_resolve<T>(f: impl Future<Output = T>) -> Option<T>

Polls the future once then drops it, returning the output if the future was ready.