brepjs API Reference
    Preparing search index...

    Interface WorkerRequest

    Base interface for all messages sent from the main thread to a worker.

    interface WorkerRequest {
        id: string;
        type: "init" | "operation" | "dispose";
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    id: string

    Unique identifier for correlating requests with responses.

    type: "init" | "operation" | "dispose"

    Discriminant indicating the kind of request.