Can be used to mock out the DaffOperationStateFacade in testing environments.
@inheritdoc
Name | Type | Description |
---|---|---|
loadingState$ | BehaviorSubject<DaffState > |
The loading state enum. |
loading$ | BehaviorSubject<boolean> | Whether the operation state is in any of the loading states. |
resolving$ | BehaviorSubject<boolean> | Whether the operation state is resolving. |
mutating$ | BehaviorSubject<boolean> | Whether the operation state is mutating. |
errors$ | BehaviorSubject<DaffStateError []> |
The errors in the operation state. |
hasErrors$ | BehaviorSubject<boolean> | Whether the operation state has any errors. If so, it should be considered to be in an "error" state. |
dispatch |