You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.
A Subject that tracks its current value. Provides an accessor to retrieve the most
recent pushed value, and all subscribers immediately receive the latest value.
API Overview
Methods - API calls which can only be made on an object returned by a constructor
| Signature | cp.rx.BehaviorSubject:subscribe(observer | onNext, onError, onCompleted) -> cp.rx.Reference |
| -----------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| Type | Method |
| Description | Creates a new Observer and attaches it to the BehaviorSubject. Immediately broadcasts the most |
| Parameters |
observer | onNext - The Observer subscribing, or the function called when the BehaviorSubject produces a value.
onError - A function called when the BehaviorSubject terminates due to an error.
onCompleted - A function called when the BehaviorSubject completes normally.