mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 04:43:03 -05:00
feat(ngrx lib): add init function
This commit is contained in:
@@ -71,6 +71,16 @@ export type CallState = LoadingState | ErrorState;
|
||||
|
||||
## API
|
||||
|
||||
### initialization
|
||||
|
||||
##### setInitState
|
||||
|
||||
The `setInitState` method lets you initialize your custom state if you are not using the constructor.
|
||||
|
||||
```typescript
|
||||
setInitState = (state: T): void
|
||||
```
|
||||
|
||||
### updater
|
||||
|
||||
##### startLoading
|
||||
|
||||
Reference in New Issue
Block a user