Skip to main content

init

Function init 

Source
pub fn init(ctx: &Ctx<'_>) -> Result<()>
Expand description

Install the Buffer, URL and Crypto globals into a fresh context, in order.

Call once per context before evaluating a module using this library. This does not install host I/O modules, start Tokio, or drive pending jobs.