GitHub package.json versionTypeScriptNPM
GitHub package.json versionTypeScriptNPM
Latest

API

cache

is a property providing access to the underlying immutable cache managed by this Vue Eagle Eye instance.

closed

is a boolean property confirming that the context is still active.
Use the "closing" event to be notified right before context deactivation.
Please see the dispose method below.

createEagleEye

is a function accepting three optional parameters (to wit: the initial state object or an AutoImmutable instance bearing this initial state object, the prehooks and the storage) and returning a Vue Eagle Eye context.
The returned instance is the store-bearing context.
The context's store is directly accessible through its store property.
A change stream store for this context can be obtained either by assessing its stream property its stream property.

dispose

is a context method to deactivates this context.
Context deactivation is permanent.
The context's closed property confirms this status.

stream

is a property of the Vue Eagle Eye instance intentionally made as a no-frills means for observing and communicating with this instance.
It accepts an optional selector map parameter; and returns a change stream context store.
The injected store monitors changes in the underlying state slices referenced by the selector map.
A change in any of the referenced state slices automatically triggers an update of the related store.data property and a subsequent render of the client.