Function wait_for_all

Source
pub(crate) fn wait_for_all(
    cx: JSContext,
    global: &GlobalScope,
    promises: Vec<Rc<Promise>>,
    success_steps: Rc<dyn Fn(Vec<HandleValue<'_>>)>,
    failure_steps: Rc<dyn Fn(HandleValue<'_>)>,
    realm: InRealm<'_>,
    can_gc: CanGc,
)
Expand description