MagicCacheWatcher class
TelescopeWatcher for Magic's cache facade.
V1.x: magic's Cache facade does not emit lifecycle events today
(no CacheHit/CacheMiss/CacheWritten/CacheForgotten event
classes exist in lib/src/cache/). This watcher is registered as
part of the public surface so the V1.x upgrade ; once cache events
land upstream ; is a one-file change in this package: subscribe via
EventDispatcher.instance.register inside install, identical to
MagicModelWatcher.
Until then, install is a no-op and TelescopeStore.recentCaches
will be empty for magic cache traffic.
Constructors
Properties
Methods
-
install(
) → void - Wire the watcher's listening hook (event subscription, override, etc.).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
uninstall(
) → void - Tear down the hook (test isolation).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited