Module extensions

Module extensions 

Source
Expand description

This module contains all the Runtime extensions that can be registered.

Structs§

ConsoleExtension
Register the Console JavaScript object with the specified logger. Use ConsoleExtension::default() to register the console with a default logger.
EncodingExtension
Register the TextEncoder and TextDecoder classes.
FetchExtension
Register the fetch JavaScript API with the specified crate::fetch::Fetcher.
MicrotaskExtension
Register the queueMicrotask function.
PostMessageExtension
Register the postMessage JavaScript API with the specified crate::message::MessageSender.
StructuredCloneExtension
Register the structuredClone function.
TimeoutExtension
Register the Timeout/Interval functions.
UrlExtension
Register the URL classes.

Traits§

RuntimeExtension
Optional registrable extension (with arguments) in the Boa Runtime should implement this.