Skip to main content

register

Function register 

Source
pub fn register(
    realm: Option<Realm>,
    context: &mut Context,
) -> Result<(), JsError>
Expand description

Register the queueMicrotask function to the realm or context.

ยงErrors

Returns an error if the microtask extension cannot be registered.