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.117.132.79
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 /
src /
observable /
Delete
Unzip
Name
Size
Permission
Date
Action
dom
[ DIR ]
drwxrwxr-x
2022-08-30 11:49
ArrayLikeObservable.ts
1.89
KB
-rw-rw-r--
2022-08-30 11:49
ArrayObservable.ts
4.29
KB
-rw-rw-r--
2022-08-30 11:49
BoundCallbackObservable.ts
14.32
KB
-rw-rw-r--
2022-08-30 11:49
BoundNodeCallbackObservable.ts
12.27
KB
-rw-rw-r--
2022-08-30 11:49
ConnectableObservable.ts
5.58
KB
-rw-rw-r--
2022-08-30 11:49
DeferObservable.ts
3.3
KB
-rw-rw-r--
2022-08-30 11:49
EmptyObservable.ts
2.51
KB
-rw-rw-r--
2022-08-30 11:49
ErrorObservable.ts
2.61
KB
-rw-rw-r--
2022-08-30 11:49
ForkJoinObservable.ts
10.66
KB
-rw-rw-r--
2022-08-30 11:49
FromEventObservable.ts
10.89
KB
-rw-rw-r--
2022-08-30 11:49
FromEventPatternObservable.ts
3.71
KB
-rw-rw-r--
2022-08-30 11:49
FromObservable.ts
4.34
KB
-rw-rw-r--
2022-08-30 11:49
GenerateObservable.ts
9.73
KB
-rw-rw-r--
2022-08-30 11:49
IfObservable.ts
1.84
KB
-rw-rw-r--
2022-08-30 11:49
IntervalObservable.ts
2.67
KB
-rw-rw-r--
2022-08-30 11:49
IteratorObservable.ts
3.69
KB
-rw-rw-r--
2022-08-30 11:49
NeverObservable.ts
1.6
KB
-rw-rw-r--
2022-08-30 11:49
PairsObservable.ts
2.63
KB
-rw-rw-r--
2022-08-30 11:49
PromiseObservable.ts
3.87
KB
-rw-rw-r--
2022-08-30 11:49
RangeObservable.ts
2.87
KB
-rw-rw-r--
2022-08-30 11:49
ScalarObservable.ts
1.32
KB
-rw-rw-r--
2022-08-30 11:49
SubscribeOnObservable.ts
1.51
KB
-rw-rw-r--
2022-08-30 11:49
TimerObservable.ts
3.8
KB
-rw-rw-r--
2022-08-30 11:49
UsingObservable.ts
1.88
KB
-rw-rw-r--
2022-08-30 11:49
bindCallback.ts
131
B
-rw-rw-r--
2022-08-30 11:49
bindNodeCallback.ts
147
B
-rw-rw-r--
2022-08-30 11:49
combineLatest.ts
9.79
KB
-rw-rw-r--
2022-08-30 11:49
concat.ts
6.04
KB
-rw-rw-r--
2022-08-30 11:49
defer.ts
100
B
-rw-rw-r--
2022-08-30 11:49
empty.ts
100
B
-rw-rw-r--
2022-08-30 11:49
forkJoin.ts
112
B
-rw-rw-r--
2022-08-30 11:49
from.ts
96
B
-rw-rw-r--
2022-08-30 11:49
fromEvent.ts
116
B
-rw-rw-r--
2022-08-30 11:49
fromEventPattern.ts
144
B
-rw-rw-r--
2022-08-30 11:49
fromPromise.ts
112
B
-rw-rw-r--
2022-08-30 11:49
generate.ts
111
B
-rw-rw-r--
2022-08-30 11:49
if.ts
89
B
-rw-rw-r--
2022-08-30 11:49
interval.ts
112
B
-rw-rw-r--
2022-08-30 11:49
merge.ts
6.14
KB
-rw-rw-r--
2022-08-30 11:49
never.ts
100
B
-rw-rw-r--
2022-08-30 11:49
of.ts
93
B
-rw-rw-r--
2022-08-30 11:49
onErrorResumeNext.ts
133
B
-rw-rw-r--
2022-08-30 11:49
pairs.ts
102
B
-rw-rw-r--
2022-08-30 11:49
race.ts
3.17
KB
-rw-rw-r--
2022-08-30 11:49
range.ts
100
B
-rw-rw-r--
2022-08-30 11:49
throw.ts
101
B
-rw-rw-r--
2022-08-30 11:49
timer.ts
100
B
-rw-rw-r--
2022-08-30 11:49
using.ts
100
B
-rw-rw-r--
2022-08-30 11:49
zip.ts
79
B
-rw-rw-r--
2022-08-30 11:49
Save
Rename
import { IScheduler } from '../Scheduler'; import { Action } from '../scheduler/Action'; import { Observable } from '../Observable' ; import { Subscriber } from '../Subscriber'; import { Subscription } from '../Subscription'; import { isScheduler } from '../util/isScheduler'; const selfSelector = <T>(value: T) => value; export type ConditionFunc<S> = (state: S) => boolean; export type IterateFunc<S> = (state: S) => S; export type ResultFunc<S, T> = (state: S) => T; interface SchedulerState<T, S> { needIterate?: boolean; state: S; subscriber: Subscriber<T>; condition?: ConditionFunc<S>; iterate: IterateFunc<S>; resultSelector: ResultFunc<S, T>; } export interface GenerateBaseOptions<S> { /** * Initial state. */ initialState: S; /** * Condition function that accepts state and returns boolean. * When it returns false, the generator stops. * If not specified, a generator never stops. */ condition?: ConditionFunc<S>; /** * Iterate function that accepts state and returns new state. */ iterate: IterateFunc<S>; /** * IScheduler to use for generation process. * By default, a generator starts immediately. */ scheduler?: IScheduler; } export interface GenerateOptions<T, S> extends GenerateBaseOptions<S> { /** * Result selection function that accepts state and returns a value to emit. */ resultSelector: ResultFunc<S, T>; } /** * We need this JSDoc comment for affecting ESDoc. * @extends {Ignored} * @hide true */ export class GenerateObservable<T, S> extends Observable<T> { constructor(private initialState: S, private condition: ConditionFunc<S>, private iterate: IterateFunc<S>, private resultSelector: ResultFunc<S, T>, private scheduler?: IScheduler) { super(); } /** * Generates an observable sequence by running a state-driven loop * producing the sequence's elements, using the specified scheduler * to send out observer messages. * * <img src="./img/generate.png" width="100%"> * * @example <caption>Produces sequence of 0, 1, 2, ... 9, then completes.</caption> * var res = Rx.Observable.generate(0, x => x < 10, x => x + 1, x => x); * * @example <caption>Using asap scheduler, produces sequence of 2, 3, 5, then completes.</caption> * var res = Rx.Observable.generate(1, x => x < 5, x => x * 2, x => x + 1, Rx.Scheduler.asap); * * @see {@link from} * @see {@link create} * * @param {S} initialState Initial state. * @param {function (state: S): boolean} condition Condition to terminate generation (upon returning false). * @param {function (state: S): S} iterate Iteration step function. * @param {function (state: S): T} resultSelector Selector function for results produced in the sequence. * @param {Scheduler} [scheduler] A {@link IScheduler} on which to run the generator loop. If not provided, defaults to emit immediately. * @returns {Observable<T>} The generated sequence. */ static create<T, S>(initialState: S, condition: ConditionFunc<S>, iterate: IterateFunc<S>, resultSelector: ResultFunc<S, T>, scheduler?: IScheduler): Observable<T> /** * Generates an observable sequence by running a state-driven loop * producing the sequence's elements, using the specified scheduler * to send out observer messages. * The overload uses state as an emitted value. * * <img src="./img/generate.png" width="100%"> * * @example <caption>Produces sequence of 0, 1, 2, ... 9, then completes.</caption> * var res = Rx.Observable.generate(0, x => x < 10, x => x + 1); * * @example <caption>Using asap scheduler, produces sequence of 1, 2, 4, then completes.</caption> * var res = Rx.Observable.generate(1, x => x < 5, x => x * 2, Rx.Scheduler.asap); * * @see {@link from} * @see {@link create} * * @param {S} initialState Initial state. * @param {function (state: S): boolean} condition Condition to terminate generation (upon returning false). * @param {function (state: S): S} iterate Iteration step function. * @param {Scheduler} [scheduler] A {@link IScheduler} on which to run the generator loop. If not provided, defaults to emit immediately. * @returns {Observable<S>} The generated sequence. */ static create<S>(initialState: S, condition: ConditionFunc<S>, iterate: IterateFunc<S>, scheduler?: IScheduler): Observable<S> /** * Generates an observable sequence by running a state-driven loop * producing the sequence's elements, using the specified scheduler * to send out observer messages. * The overload accepts options object that might contain initial state, iterate, * condition and scheduler. * * <img src="./img/generate.png" width="100%"> * * @example <caption>Produces sequence of 0, 1, 2, ... 9, then completes.</caption> * var res = Rx.Observable.generate({ * initialState: 0, * condition: x => x < 10, * iterate: x => x + 1 * }); * * @see {@link from} * @see {@link create} * * @param {GenerateBaseOptions<S>} options Object that must contain initialState, iterate and might contain condition and scheduler. * @returns {Observable<S>} The generated sequence. */ static create<S>(options: GenerateBaseOptions<S>): Observable<S> /** * Generates an observable sequence by running a state-driven loop * producing the sequence's elements, using the specified scheduler * to send out observer messages. * The overload accepts options object that might contain initial state, iterate, * condition, result selector and scheduler. * * <img src="./img/generate.png" width="100%"> * * @example <caption>Produces sequence of 0, 1, 2, ... 9, then completes.</caption> * var res = Rx.Observable.generate({ * initialState: 0, * condition: x => x < 10, * iterate: x => x + 1, * resultSelector: x => x * }); * * @see {@link from} * @see {@link create} * * @param {GenerateOptions<T, S>} options Object that must contain initialState, iterate, resultSelector and might contain condition and scheduler. * @returns {Observable<T>} The generated sequence. */ static create<T, S>(options: GenerateOptions<T, S>): Observable<T> static create<T, S>(initialStateOrOptions: S | GenerateOptions<T, S>, condition?: ConditionFunc<S>, iterate?: IterateFunc<S>, resultSelectorOrObservable?: (ResultFunc<S, T>) | IScheduler, scheduler?: IScheduler): Observable<T> { if (arguments.length == 1) { return new GenerateObservable<T, S>( (<GenerateOptions<T, S>>initialStateOrOptions).initialState, (<GenerateOptions<T, S>>initialStateOrOptions).condition, (<GenerateOptions<T, S>>initialStateOrOptions).iterate, (<GenerateOptions<T, S>>initialStateOrOptions).resultSelector || selfSelector as ResultFunc<S, T>, (<GenerateOptions<T, S>>initialStateOrOptions).scheduler); } if (resultSelectorOrObservable === undefined || isScheduler(resultSelectorOrObservable)) { return new GenerateObservable<T, S>( <S>initialStateOrOptions, condition, iterate, selfSelector as ResultFunc<S, T>, <IScheduler>resultSelectorOrObservable); } return new GenerateObservable<T, S>( <S>initialStateOrOptions, condition, iterate, <ResultFunc<S, T>>resultSelectorOrObservable, <IScheduler>scheduler); } /** @deprecated internal use only */ _subscribe(subscriber: Subscriber<any>): Subscription | Function | void { let state = this.initialState; if (this.scheduler) { return this.scheduler.schedule<SchedulerState<T, S>>(GenerateObservable.dispatch, 0, { subscriber, iterate: this.iterate, condition: this.condition, resultSelector: this.resultSelector, state }); } const { condition, resultSelector, iterate } = this; do { if (condition) { let conditionResult: boolean; try { conditionResult = condition(state); } catch (err) { subscriber.error(err); return; } if (!conditionResult) { subscriber.complete(); break; } } let value: T; try { value = resultSelector(state); } catch (err) { subscriber.error(err); return; } subscriber.next(value); if (subscriber.closed) { break; } try { state = iterate(state); } catch (err) { subscriber.error(err); return; } } while (true); } private static dispatch<T, S>(state: SchedulerState<T, S>): Subscription | void { const { subscriber, condition } = state; if (subscriber.closed) { return; } if (state.needIterate) { try { state.state = state.iterate(state.state); } catch (err) { subscriber.error(err); return; } } else { state.needIterate = true; } if (condition) { let conditionResult: boolean; try { conditionResult = condition(state.state); } catch (err) { subscriber.error(err); return; } if (!conditionResult) { subscriber.complete(); return; } if (subscriber.closed) { return; } } let value: T; try { value = state.resultSelector(state.state); } catch (err) { subscriber.error(err); return; } if (subscriber.closed) { return; } subscriber.next(value); if (subscriber.closed) { return; } return (<Action<SchedulerState<T, S>>><any>this).schedule(state); } }