PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
node_modules
/
rxjs
/
_esm2015
/
internal
import { Subject } from './Subject'; import { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError'; export class BehaviorSubject extends Subject { constructor(_value) { super(); this._value = _value; } get value() { return this.getValue(); } _subscribe(subscriber) { const subscription = super._subscribe(subscriber); if (subscription && !subscription.closed) { subscriber.next(this._value); } return subscription; } getValue() { if (this.hasError) { throw this.thrownError; } else if (this.closed) { throw new ObjectUnsubscribedError(); } else { return this._value; } } next(value) { super.next(this._value = value); } } //# sourceMappingURL=BehaviorSubject.js.map
[-] Observable.js.map
[edit]
[-] Rx.js.map
[edit]
[+]
scheduled
[-] Notification.js
[edit]
[-] SubjectSubscription.js.map
[edit]
[-] InnerSubscriber.js
[edit]
[+]
..
[+]
testing
[-] ReplaySubject.js.map
[edit]
[-] Subscription.js
[edit]
[-] Observer.js.map
[edit]
[-] Operator.js.map
[edit]
[-] OuterSubscriber.js.map
[edit]
[-] SubjectSubscription.js
[edit]
[-] Subject.js.map
[edit]
[-] Scheduler.js
[edit]
[+]
observable
[-] Operator.js
[edit]
[-] types.js.map
[edit]
[-] Observer.js
[edit]
[+]
scheduler
[+]
symbol
[-] Subscriber.js
[edit]
[-] AsyncSubject.js.map
[edit]
[-] AsyncSubject.js
[edit]
[-] Rx.js
[edit]
[-] Scheduler.js.map
[edit]
[-] Subscriber.js.map
[edit]
[-] BehaviorSubject.js.map
[edit]
[-] types.js
[edit]
[-] Subject.js
[edit]
[-] config.js.map
[edit]
[+]
util
[-] config.js
[edit]
[-] OuterSubscriber.js
[edit]
[-] Subscription.js.map
[edit]
[-] ReplaySubject.js
[edit]
[-] Observable.js
[edit]
[-] Notification.js.map
[edit]
[-] BehaviorSubject.js
[edit]
[+]
operators
[-] InnerSubscriber.js.map
[edit]