Skip to content

spatial-monorepo


spatial-monorepo / core/src / useWorkerConfig

Function: useWorkerConfig()

useWorkerConfig(): WorkerConfig

Defined in: packages/core/src/workerConfig.tsx:39

Returns the resolved worker-enable flags from the nearest SpatialProvider. When a flag is false, the caller must use the direct (non-Worker) implementation.

Returns

WorkerConfig

Released under commercial licensing.