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.
withKernel
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.