Actor.subscribe() method​
Signature:
subscribe(nextListener?: (state: SnapshotFrom<TLogic>) => void, errorListener?: (error: any) => void, completeListener?: () => void): Subscription;
Parameters​
| Parameter | Type | Description |
|---|---|---|
| nextListener | (state: SnapshotFrom<TLogic>) => void | (Optional) |
| errorListener | (error: any) => void | (Optional) |
| completeListener | () => void | (Optional) |
Returns: