Function script::dom::gpu::response_async

source ·
pub fn response_async<T: AsyncWGPUListener + DomObject + 'static>(
    promise: &Rc<Promise>,
    receiver: &T
) -> IpcSender<Option<WebGPUResponseResult>>