Sent from the host when a worker should un/pause rendering.

interface CanvasWorkerMessagePause {
    pause: boolean;
    type: "pause";
}

Properties

Properties

pause: boolean

Should the worker pause (true) or unpause (false)?

type: "pause"

Type identifier of this message.