brepjs API Reference
    Preparing search index...

    Interface WorkerClient

    interface WorkerClient {
        dispose(): void;
        execute(
            operation: string,
            shapesBrep: string[],
            params: Record<string, unknown>,
        ): Promise<WorkerResult>;
        init(): Promise<void>;
    }
    Index

    Methods

    • Execute a named operation with BREP-serialized shapes and parameters.

      Parameters

      • operation: string
      • shapesBrep: string[]
      • params: Record<string, unknown>

      Returns Promise<WorkerResult>