1use crate::TestingContext; 2 3impl TestingContext { 4 /// Utility to allow future asynchronous polling. 5 pub async fn async_poll( 6 &self, 7 poll_type: wgpu::PollType, 8 ) -> Result<wgpu::PollStatus, wgpu::PollError> { 9 self.device.poll(poll_type) 10 } 11}