Type alias RunOptions

RunOptions: CommonOptions & {
    program?: string;
    runtime?: Runtime;

Configuration used when starting a WASIX program with runWasix.

Type declaration

  • Optional program?: string

    The name of the program being run (passed in as arg 0)

  • Optional runtime?: Runtime

    The WASIX runtime to use.

    Providing a Runtime allows multiple WASIX instances to share things like caches and threadpools. If not provided, a default Runtime will be created.

Generated using TypeDoc