aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm/internal/BehaviorSubject.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/BehaviorSubject.js')
-rw-r--r--node_modules/rxjs/dist/esm/internal/BehaviorSubject.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/node_modules/rxjs/dist/esm/internal/BehaviorSubject.js b/node_modules/rxjs/dist/esm/internal/BehaviorSubject.js
deleted file mode 100644
index b9d4f6c..0000000
--- a/node_modules/rxjs/dist/esm/internal/BehaviorSubject.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import { Subject } from './Subject';
-export class BehaviorSubject extends Subject {
- constructor(_value) {
- super();
- this._value = _value;
- }
- get value() {
- return this.getValue();
- }
- _subscribe(subscriber) {
- const subscription = super._subscribe(subscriber);
- !subscription.closed && subscriber.next(this._value);
- return subscription;
- }
- getValue() {
- const { hasError, thrownError, _value } = this;
- if (hasError) {
- throw thrownError;
- }
- this._throwIfClosed();
- return _value;
- }
- next(value) {
- super.next((this._value = value));
- }
-}
-//# sourceMappingURL=BehaviorSubject.js.map \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage