//! Minimal executor for the futures of this crate on native `wgpu`.
use Future;
use pin;
use ;
/// Runs `future` to completion on the current thread by polling it in a yielding loop.
///
/// Native `wgpu` resolves error scopes and buffer mappings during `Device::poll`, which
/// this crate's futures call themselves, so they complete without a reactor. Do not use it
/// for futures that wait on other threads or on the browser event loop (WebGPU).