IFClite TypeScript API
    Preparing search index...

    Interface ExtensionRuntimeOptions

    interface ExtensionRuntimeOptions {
        defaultLimits?: {
            maxStackBytes?: number;
            memoryBytes?: number;
            timeoutMs?: number;
        };
        factory: RuntimeSandboxFactory;
        now?: () => Date;
        sdk?: unknown;
    }
    Index
    defaultLimits?: {
        maxStackBytes?: number;
        memoryBytes?: number;
        timeoutMs?: number;
    }

    Default resource limits applied to every extension. The host may tighten per-extension via settings; the spec calls out a default of 64 MiB memory, 5s sync CPU, 30s async window.

    now?: () => Date

    Optional clock for deterministic tests.

    sdk?: unknown

    Optional shared SDK reference. Future ctx fields (storage, fetch, notify) hang off this; today only bim is plumbed through.