diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:49:28 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:49:28 -0700 |
| commit | d55b767039605256c736166a942a9138e3eacfd7 (patch) | |
| tree | 947063b634c50d438a794325f13275e134aa5993 /node_modules/rxjs/dist/esm/internal/BehaviorSubject.js | |
| parent | 864ce67d89c77d8ef9c3361f80d619853abcf91c (diff) | |
remove dev node_modules (oops)
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/BehaviorSubject.js')
| -rw-r--r-- | node_modules/rxjs/dist/esm/internal/BehaviorSubject.js | 27 |
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 |
