The slice label
The slice predicate
Elements to be considered for slicing
The current query state.
The configuration for the store.
The element entries that are keyed by an id generated on the server.
The slice label
Create notifications that broacast the entire set of entries.
Create notifications that broacast store or slice delta state changes.
Notifies observers when the store is empty.
Notifies observers of changes to the number of entries in the store.
Notifies observers of the store query.
The slice predicate
The current guid key for the EStore instance.
this.config.guidKey;
The current id key for the EStore instance.
this.config.idKey;
Sets the current query state and notifies observers.
A snapshot of the query state.
Sets the current query state and notifies observers.
A snapshot of the query state.
Snapshot of all entries.
Snapshot array of all the elements the entities the store contains.
Returns true if the entries contain the identified instance.
Either an instance of type E
or a guid
identifying the instance.
true if the instance identified by the guid exists, false otherwise.
Returns true if the entries contain the identified instance.
Either an instance of type E
or a id
identifying the instance.
true if the instance identified by the id
exists, false otherwise.
Returns the number of entries contained.
The predicate to apply in order to filter the count
Returns a snapshto of the number of entries contained in the store.
The predicate to apply in order to filter the count
Delete an element from the slice.
The element to be deleted if it satisfies the predicate
The elements to be deleted if they satisfy the predicate
The elements to be deleted if it satisfies the predicate
Calls complete on all {@link BehaviorSubject} instances.
Call destroy when disposing of the store.
Compare entities by GUID
The first entity
The second entity
true if the two entities have equal GUID ids
Compare entities by ID
The first entity
The second entity
true if the two entities have equal ID ids
Find and return the entity identified by the GUID parameter if it exists and return it.
The entity instance if it exists, null otherwise
Find and return the entity identified by the ID parameter if it exists and return it.
The entity instance if it exists, null otherwise
Check whether the store is empty.
A hot {@link Observable} that indicates whether the store is empty.
Check whether the store is empty.
A snapshot that indicates whether the store is empty.
Call all the notifiers at once.
Observe store state changes.
Optional sorting function yielding a sorted observable.
Observe delta updates.
Observe the query.
Add the element if it satisfies the predicate and notify subscribers that an element was added.
The element to be considered for slicing
Add the elements if they satisfy the predicate and notify subscribers that elements were added.
The element to be considered for slicing
Add the elements if they satisfy the predicate and notify subscribers that elements were added.
The element to be considered for slicing
Update the slice when an Entity instance mutates.
The element to be added or deleted depending on predicate reevaluation
The elements to be put
Update the slice with mutated Entity instances.
The elements to be deleted if it satisfies the predicate
Resets the slice to empty.
Snapshot of the entries that match the predicate.
The predicate used to query for the selection.
A snapshot array containing the entities that match the predicate.
Utility method that applies the predicate to an array of entities and return the ones that pass the test.
This can be used to create an initial set of values that should be part of the slice, such that the Slices notifier performs a notification with this set of values as soon as the slice is instantiated.
The the array of entities that pass the predicate test.
Generated using TypeDoc
perform initial notification to all observers, such that operations like {@link combineLatest}{} will execute at least once.