Documentation
    Preparing search index...

    Interface CanvasWorkerMessageReconfigure<TApplicationOptions>

    Sent from the host when a worker should reconfigure itself.

    interface CanvasWorkerMessageReconfigure<
        TApplicationOptions extends CanvasSandboxExpectedOptions,
    > {
        canvas: OffscreenCanvas;
        id: string;
        options: TApplicationOptions;
        type: "reconfigure";
    }

    Type Parameters

    Index

    Properties

    Properties

    New canvas for the worker to use.

    id: string

    New ID for the worker.

    New application options to use.

    type: "reconfigure"

    Type identifier of this message.