spatial-monorepo / editor/src / createDXFWorker
Function: createDXFWorker()
createDXFWorker():
DXFWorkerHandle
Defined in: packages/editor/src/dxf.worker.ts:63
Main-thread factory: creates a Comlink-wrapped DXFWorker proxy alongside a terminate() cleanup fn. Call this once; cache the result for reuse, and call terminate() when done with it (e.g. on unmount) — see DXFWorkerHandle.terminate.
