brepjs API Reference
    Preparing search index...

    Function withEvaluator

    • Run a callback with a fresh Evaluator that is disposed when the callback returns. Sync-only: an async callback would resolve after disposal, leaving borrowed shapes pointing at freed WASM memory. Mirrors the Promise-guard pattern in withKernel.

      Type Parameters

      • T extends unknown

      Parameters

      Returns T