pub fn read_sync<F: Future<Output = T>, T>(f: F) -> TExpand description
Read a future synchronously.
On WASM futures cannot block, so this only succeeds if the future returns immediately.
If you want to handle this error, please use
try_read_sync instead.