Protected
__id__Readonly
_dataPrivate
_initialise$Readonly
dataReadonly
dataReadonly
destroy$Protected
Readonly
destroyProtected
entityReadonly
entityReadonly
initialise$Protected
isProtected
notReadonly
presentationProtected
refresh$Protected
result$Readonly
state$Protected
Readonly
stateOptional
queryOptions: QueryOptions<any>Creates an effect.
This effect is subscribed to throughout the lifecycle of the ComponentStore.
A function that takes an origin Observable input and returns an Observable. The Observable that is returned will be subscribed to for the life of the component.
A function that, when called, will trigger the origin Observable.
Protected
getOptional
qualifier: stringOptional
calendar: string使用 async await 方式作为 getXXX method 的异步处理方式; 用 Observable 作为 selectXXX method 的异步处理方式;
Protected
initPatches the state with provided partial state.
a partial state or a partial updater function that accepts the state and returns the partial state.
Error if the state is not initialized.
Optional
options: QueryOptions<any>Creates a selector.
A pure projection function that takes the current state and returns some new slice/projection of that state.
Optional
config: SelectConfigSelectConfig that changes the behavior of selector, including the debouncing of the values until the state is settled.
An observable of the projector results.
Rest
...args: [...selectors: Selectors[], projector: Projector<Selectors, Result>]Rest
...args: [...selectors: Selectors[], projector: Projector<Selectors, Result>, config: SelectConfig]如果先改变查询条件和逻辑,可以在子类中重写此方法
Optional
options: QueryOptions<any>QueryOptions
Creates an updater.
Throws an error if updater is called with synchronous values (either imperative value or Observable that is synchronous) before ComponentStore is initialized. If called with async Observable before initialization then state will not be updated and subscription would be closed.
A static updater function that takes 2 parameters (the current state and an argument object) and returns a new instance of the state.
A function that accepts one argument which is forwarded as the
second argument to updaterFn
. Every time this function is called
subscribers will be notified of the state change.
Generated using TypeDoc
Deprecated
use
getEntityType
orselectEntityType
method