probeRegistrations
probeRegistrations(
register):Promise<ProbedRegistrations>
Defined in: hotReload.ts:28
Run register (a project-bundle re-import) inside a throwaway AppContext, so
its defineComponent / addSystem populate an isolated registry instead of the live
one — and return what it registered. The live context is always restored, even on
throw. The caller compares fingerprint to the live one (getUserComponentFingerprint
before calling) to choose hot-swap (unchanged → keep the World) vs full-reload, and
feeds pending to App.hotSwapSystems. Component identity is interned by name (see
component.ts), so the probe’s component defs share the live _ids — the re-imported
systems’ queries resolve to the live storage. See docs/REARCH_HOT_RELOAD.md.
Parameters
Section titled “Parameters”register
Section titled “register”() => Promise<void>
Returns
Section titled “Returns”Promise<ProbedRegistrations>