interface BaseVatOptions {
    critical: undefined | boolean;
    enablePipelining: undefined | boolean;
    enableSetup: undefined | boolean;
    name: string;
    reapGCKrefs: undefined | number | "never";
    reapInterval: undefined | number | "never";
    useTranscript: undefined | boolean;
    vatParameters: any;
}

Properties

critical: undefined | boolean
enablePipelining: undefined | boolean

If true, permits the kernel to pipeline messages to promises for which the vat is the decider directly to the vat without waiting for the promises to be resolved. If false, such messages will be queued inside the kernel. Defaults to false.

enableSetup: undefined | boolean

If true, permits the vat to construct itself using the setup() API, which bypasses the imposition of LiveSlots but requires the vat implementation to enforce the vat invariants manually. If false, the vat will be constructed using the buildRootObject() API, which uses LiveSlots to enforce the vat invariants automatically. Defaults to false.

name: string
reapGCKrefs: undefined | number | "never"

Trigger a bringOutYourDead when the vat has been given this many krefs in GC deliveries (dropImports, retireImports, retireExports). If the value is 'never', GC deliveries and their krefs are not treated specially.

reapInterval: undefined | number | "never"

Trigger a bringOutYourDead after the vat has received this many deliveries. If the value is 'never', 'bringOutYourDead' will not be triggered by a delivery count (but might be triggered for other reasons).

useTranscript: undefined | boolean

If true, saves a transcript of a vat's inbound deliveries and outbound syscalls so that the vat's internal state can be reconstructed via replay. If false, no such record is kept. Defaults to true.

vatParameters: any