Skip to main content

Module host

Module host 

Source
Expand description

The host boundary: what the core asks of its embedder. quickjs-oxide-core reaches the platform only through this trait, so it stays dependency-free and a port supplies its own implementation.

Structs§

SystemHost
The default host: the process’s streams, the system clock, UTC.

Enums§

RejectionEvent
What Host::promise_rejection reports (ECMAScript’s HostPromiseRejectionTracker operations).
Stream
Which output stream print and the console write to.

Traits§

Host
The embedder’s services. Every method has a default suitable for a standalone runtime: the process’s streams, the system clock and UTC.