spatial-monorepo / core/src / RTLSAdapterSource
Type Alias: RTLSAdapterSource
RTLSAdapterSource =
RTLSAdapter|RTLSAdapterFactory
Defined in: packages/core/src/hooks/useRTLSWorker.ts:117
Input accepted by useRTLSWorker's main-thread path: either a pre-constructed RTLSAdapter instance, or a zero-arg factory function that produces one.
Deliberately excludes an adapter class (new (id, config) => RTLSAdapter) — a class reference has no call signature, so TS rejects useRTLSWorker(SewioAdapter, opts) at compile time instead of the old runtime misconfiguration bug (#443).
