pub fn try_read_sync<F: Future<Output = T>, T>(f: F) -> Option<T>
Read a future synchronously.
On WASM futures cannot block, so this only succeeds if the future returns immediately. otherwise this returns None.