Struct gj::WaitScope [] [src]

pub struct WaitScope(_);

A scope in which asynchronous programming can occur. Corresponds to the top level scope of some event loop. Can be used to wait for the result of a promise.