Class PullstateInstance<T>
Implements
- IPullstateInstanceConsumable<T>
Constructors
constructor
-
Parameters
-
allStores: T
-
ssr: boolean
Methods
hasAsyncStateToResolve
- hasAsyncStateToResolve(): boolean
instantiateReactions
- instantiateReactions(): void
resolveAsyncState
- resolveAsyncState(): Promise<void>
runAsyncAction
- runAsyncAction<A, R, X>(asyncAction: IOCreateAsyncActionOutput<A, R, X>, args?: A, runOptions?: Pick<IAsyncActionRunOptions, "ignoreShortCircuit" | "respectCache">): TPullstateAsyncRunResponse<R, X>
-
Type parameters
Parameters
-
asyncAction: IOCreateAsyncActionOutput<A, R, X>
-
Default value args: A = {} as A
-
Default value runOptions: Pick<IAsyncActionRunOptions, "ignoreShortCircuit" | "respectCache"> = {}
Returns TPullstateAsyncRunResponse<R, X>
Object literals
_asyncCache
_asyncCache: object