G-code Preview — API Reference
    Preparing search index...

    Minimal duck-typed worker surface the pool drives (a Web Worker, a worker_threads shim, or a fake).

    interface GeometryWorkerLike {
        onerror?: null | ((err: unknown) => void);
        onmessage: null | ((ev: { data: GeometryBuildResponse }) => void);
        postMessage(msg: GeometryBuildRequest, transfer?: ArrayBuffer[]): void;
        terminate(): void;
    }
    Index

    Properties

    onerror?: null | ((err: unknown) => void)
    onmessage: null | ((ev: { data: GeometryBuildResponse }) => void)

    Methods