Struct chakracore::runtime::Builder [] [src]

pub struct Builder { /* fields omitted */ }

A builder for the runtime type.

Methods

impl Builder
[src]

Disable the runtime from doing any work on background threads.

Disable eval and function by throwing an exception upon use.

Disable just-in-time compilation.

Allow experimental JavaScript features.

Allow script interrupt.

Dispatch exceptions to any attached JavaScript debuggers.

Enable idle processing. run_idle_tasks must be called regularly.

Set the runtime's memory limit.

Set a callback for when the runtime collects garbage.

Creates the runtime object with associated settings.