Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.221.21.111
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
rxjs /
_esm2015 /
Delete
Unzip
Name
Size
Permission
Date
Action
add
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
observable
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
operator
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
operators
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
scheduler
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
symbol
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
testing
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
util
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
AsyncSubject.js
1.14
KB
-rw-rw-r--
2022-08-30 11:49
AsyncSubject.js.map
1.26
KB
-rw-rw-r--
2022-08-30 11:49
BehaviorSubject.js
950
B
-rw-rw-r--
2022-08-30 11:49
BehaviorSubject.js.map
992
B
-rw-rw-r--
2022-08-30 11:49
InnerSubscriber.js
745
B
-rw-rw-r--
2022-08-30 11:49
InnerSubscriber.js.map
748
B
-rw-rw-r--
2022-08-30 11:49
LICENSE.txt
10.8
KB
-rw-rw-r--
2022-08-30 11:49
Notification.js
4.32
KB
-rw-rw-r--
2022-08-30 11:49
Notification.js.map
2.25
KB
-rw-rw-r--
2022-08-30 11:49
Observable.js
12.15
KB
-rw-rw-r--
2022-08-30 11:49
Observable.js.map
4
KB
-rw-rw-r--
2022-08-30 11:49
Observer.js
151
B
-rw-rw-r--
2022-08-30 11:49
Observer.js.map
270
B
-rw-rw-r--
2022-08-30 11:49
Operator.js
36
B
-rw-rw-r--
2022-08-30 11:49
Operator.js.map
108
B
-rw-rw-r--
2022-08-30 11:49
OuterSubscriber.js
508
B
-rw-rw-r--
2022-08-30 11:49
OuterSubscriber.js.map
491
B
-rw-rw-r--
2022-08-30 11:49
README.md
7.27
KB
-rw-rw-r--
2022-08-30 11:49
ReplaySubject.js
3.01
KB
-rw-rw-r--
2022-08-30 11:49
ReplaySubject.js.map
2.97
KB
-rw-rw-r--
2022-08-30 11:49
Rx.js
7.81
KB
-rw-rw-r--
2022-08-30 11:49
Rx.js.map
2.98
KB
-rw-rw-r--
2022-08-30 11:49
Scheduler.js
1.63
KB
-rw-rw-r--
2022-08-30 11:49
Scheduler.js.map
549
B
-rw-rw-r--
2022-08-30 11:49
Subject.js
4.19
KB
-rw-rw-r--
2022-08-30 11:49
Subject.js.map
4.38
KB
-rw-rw-r--
2022-08-30 11:49
SubjectSubscription.js
915
B
-rw-rw-r--
2022-08-30 11:49
SubjectSubscription.js.map
913
B
-rw-rw-r--
2022-08-30 11:49
Subscriber.js
8.83
KB
-rw-rw-r--
2022-08-30 11:49
Subscriber.js.map
6.48
KB
-rw-rw-r--
2022-08-30 11:49
Subscription.js
7.42
KB
-rw-rw-r--
2022-08-30 11:49
Subscription.js.map
4.78
KB
-rw-rw-r--
2022-08-30 11:49
interfaces.js
38
B
-rw-rw-r--
2022-08-30 11:49
interfaces.js.map
112
B
-rw-rw-r--
2022-08-30 11:49
operators.js
5.3
KB
-rw-rw-r--
2022-08-30 11:49
operators.js.map
3.4
KB
-rw-rw-r--
2022-08-30 11:49
path-mapping.js
33.37
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
import { Observable } from './Observable'; /** * Represents a push-based event or value that an {@link Observable} can emit. * This class is particularly useful for operators that manage notifications, * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and * others. Besides wrapping the actual delivered value, it also annotates it * with metadata of, for instance, what type of push message it is (`next`, * `error`, or `complete`). * * @see {@link materialize} * @see {@link dematerialize} * @see {@link observeOn} * * @class Notification<T> */ export class Notification { constructor(kind, value, error) { this.kind = kind; this.value = value; this.error = error; this.hasValue = kind === 'N'; } /** * Delivers to the given `observer` the value wrapped by this Notification. * @param {Observer} observer * @return */ observe(observer) { switch (this.kind) { case 'N': return observer.next && observer.next(this.value); case 'E': return observer.error && observer.error(this.error); case 'C': return observer.complete && observer.complete(); } } /** * Given some {@link Observer} callbacks, deliver the value represented by the * current Notification to the correctly corresponding callback. * @param {function(value: T): void} next An Observer `next` callback. * @param {function(err: any): void} [error] An Observer `error` callback. * @param {function(): void} [complete] An Observer `complete` callback. * @return {any} */ do(next, error, complete) { const kind = this.kind; switch (kind) { case 'N': return next && next(this.value); case 'E': return error && error(this.error); case 'C': return complete && complete(); } } /** * Takes an Observer or its individual callback functions, and calls `observe` * or `do` methods accordingly. * @param {Observer|function(value: T): void} nextOrObserver An Observer or * the `next` callback. * @param {function(err: any): void} [error] An Observer `error` callback. * @param {function(): void} [complete] An Observer `complete` callback. * @return {any} */ accept(nextOrObserver, error, complete) { if (nextOrObserver && typeof nextOrObserver.next === 'function') { return this.observe(nextOrObserver); } else { return this.do(nextOrObserver, error, complete); } } /** * Returns a simple Observable that just delivers the notification represented * by this Notification instance. * @return {any} */ toObservable() { const kind = this.kind; switch (kind) { case 'N': return Observable.of(this.value); case 'E': return Observable.throw(this.error); case 'C': return Observable.empty(); } throw new Error('unexpected notification kind value'); } /** * A shortcut to create a Notification instance of the type `next` from a * given value. * @param {T} value The `next` value. * @return {Notification<T>} The "next" Notification representing the * argument. */ static createNext(value) { if (typeof value !== 'undefined') { return new Notification('N', value); } return Notification.undefinedValueNotification; } /** * A shortcut to create a Notification instance of the type `error` from a * given error. * @param {any} [err] The `error` error. * @return {Notification<T>} The "error" Notification representing the * argument. */ static createError(err) { return new Notification('E', undefined, err); } /** * A shortcut to create a Notification instance of the type `complete`. * @return {Notification<any>} The valueless "complete" Notification. */ static createComplete() { return Notification.completeNotification; } } Notification.completeNotification = new Notification('C'); Notification.undefinedValueNotification = new Notification('N', undefined); //# sourceMappingURL=Notification.js.map