brepjs API Reference
    Preparing search index...

    Interface BatchRequest

    Request to run several operations in a single message, instead of one message per op. Cuts per-message round-trip + serialization overhead when a caller has many small ops for one worker.

    interface BatchRequest {
        id: string;
        operations: readonly BatchOperation[];
        type: "batch";
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    id: string

    Unique identifier for correlating requests with responses.

    operations: readonly BatchOperation[]

    Operations to run, in order.

    type: "batch"

    Discriminant indicating the kind of request.