Shared lifecycle implemented by every runtime controller.
destroy() is idempotent. After destruction, commands are no-ops, subscriptions return an inert unsubscribe function, and getSnapshot() keeps returning the final snapshot.
destroy()
getSnapshot()
Releases owned listeners, timers, observers, focus scopes, and subscriptions.
Returns the current immutable snapshot, including after destruction.
Subscribes to future distinct snapshots without synchronously invoking the listener.
Shared lifecycle implemented by every runtime controller.
Remarks
destroy()is idempotent. After destruction, commands are no-ops, subscriptions return an inert unsubscribe function, andgetSnapshot()keeps returning the final snapshot.