Expand description
Future utility copied from Bevy https://github.com/bevyengine/bevy/blob/4b1865f8bda3c3d6b3f399fb6727635b3ffcbb41/crates/bevy_utils/src/futures.rs
It is used there for a very similar purpose: catching errors on native wgpu which are known to be non-asynchronous.
Constantsยง
- NOOP_
WAKER_ ๐VTABLE
Functionsยง
- noop ๐ โ
- noop_
clone ๐ โ - noop_
raw_ ๐waker - noop_
waker ๐ - Consumes the future, polls it once, and immediately returns the output or returns
None
if it wasnโt ready yet.