Methods
public case( selector: () => string , sources: { [key: string]: Rx.Observable<T>; } , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:170
Uses selector to determine which source in sources to use.
There is an alias 'switchCase' for browsers <IE9.
Parameters
selector: () => string
The function which extracts the value for to test in a case statement.
sources: { [key: string]: Rx.Observable<T>; }
A object which has keys which correspond to the case statement labels.
The observable sequence or promise that will be run if the sources are not matched.
Returns
Observable
An observable sequence which is determined by a case statement.
public case( selector: () => string , sources: { [key: string]: Rx.IPromise<T>; } , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:171
Parameters
selector: () => string
sources: { [key: string]: Rx.IPromise<T>; }
Returns
Observable
public case( selector: () => string , sources: { [key: string]: Rx.Observable<T>; } , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:172
Parameters
selector: () => string
sources: { [key: string]: Rx.Observable<T>; }
Returns
Observable
public case( selector: () => string , sources: { [key: string]: Rx.IPromise<T>; } , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:173
Parameters
selector: () => string
sources: { [key: string]: Rx.IPromise<T>; }
Returns
Observable
public case( selector: () => string , sources: { [key: string]: Rx.Observable<T>; } , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:189
Uses selector to determine which source in sources to use.
There is an alias 'switchCase' for browsers <IE9.
Parameters
selector: () => string
The function which extracts the value for to test in a case statement.
sources: { [key: string]: Rx.Observable<T>; }
A object which has keys which correspond to the case statement labels.
scheduler?: IScheduler optional
Scheduler used to create Rx.Observabe.Empty.
Returns
Observable
An observable sequence which is determined by a case statement.
public case( selector: () => string , sources: { [key: string]: Rx.IPromise<T>; } , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:190
Parameters
selector: () => string
sources: { [key: string]: Rx.IPromise<T>; }
scheduler?: IScheduler optional
Returns
Observable
public case( selector: () => number , sources: { [key: number]: Rx.Observable<T>; } , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:204
Uses selector to determine which source in sources to use.
There is an alias 'switchCase' for browsers <IE9.
Parameters
selector: () => number
The function which extracts the value for to test in a case statement.
sources: { [key: number]: Rx.Observable<T>; }
A object which has keys which correspond to the case statement labels.
The observable sequence or promise that will be run if the sources are not matched.
Returns
Observable
An observable sequence which is determined by a case statement.
public case( selector: () => number , sources: { [key: number]: Rx.IPromise<T>; } , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:205
Parameters
selector: () => number
sources: { [key: number]: Rx.IPromise<T>; }
Returns
Observable
public case( selector: () => number , sources: { [key: number]: Rx.Observable<T>; } , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:206
Parameters
selector: () => number
sources: { [key: number]: Rx.Observable<T>; }
Returns
Observable
public case( selector: () => number , sources: { [key: number]: Rx.IPromise<T>; } , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:207
Parameters
selector: () => number
sources: { [key: number]: Rx.IPromise<T>; }
Returns
Observable
public case( selector: () => number , sources: { [key: number]: Rx.Observable<T>; } , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:223
Uses selector to determine which source in sources to use.
There is an alias 'switchCase' for browsers <IE9.
Parameters
selector: () => number
The function which extracts the value for to test in a case statement.
sources: { [key: number]: Rx.Observable<T>; }
A object which has keys which correspond to the case statement labels.
scheduler?: IScheduler optional
Scheduler used to create Rx.Observabe.Empty.
Returns
Observable
An observable sequence which is determined by a case statement.
public case( selector: () => number , sources: { [key: number]: Rx.IPromise<T>; } , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:224
Parameters
selector: () => number
sources: { [key: number]: Rx.IPromise<T>; }
scheduler?: IScheduler optional
Returns
Observable
Defined in rx-lite.d.ts:402
Parameters
Returns
Observable
Defined in rx-lite.d.ts:403
Parameters
Returns
Observable
Defined in rx-lite.d.ts:406
Parameters
Returns
Observable
Defined in rx-lite.d.ts:407
Parameters
Returns
Observable
public combineLatest( first: Observable , second: Observable , resultSelector: (v1: T, v2: T2) => TResult ) : Observable
Defined in rx-lite.d.ts:411
Parameters
resultSelector: (v1: T, v2: T2) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: Observable , resultSelector: (v1: T, v2: T2) => TResult ) : Observable
Defined in rx-lite.d.ts:412
Parameters
resultSelector: (v1: T, v2: T2) => TResult
Returns
Observable
public combineLatest( first: Observable , second: IPromise , resultSelector: (v1: T, v2: T2) => TResult ) : Observable
Defined in rx-lite.d.ts:413
Parameters
resultSelector: (v1: T, v2: T2) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: IPromise , resultSelector: (v1: T, v2: T2) => TResult ) : Observable
Defined in rx-lite.d.ts:414
Parameters
resultSelector: (v1: T, v2: T2) => TResult
Returns
Observable
public combineLatest( first: Observable , second: Observable , third: Observable , resultSelector: (v1: T, v2: T2, v3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:415
Parameters
resultSelector: (v1: T, v2: T2, v3: T3) => TResult
Returns
Observable
public combineLatest( first: Observable , second: Observable , third: IPromise , resultSelector: (v1: T, v2: T2, v3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:416
Parameters
resultSelector: (v1: T, v2: T2, v3: T3) => TResult
Returns
Observable
public combineLatest( first: Observable , second: IPromise , third: Observable , resultSelector: (v1: T, v2: T2, v3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:417
Parameters
resultSelector: (v1: T, v2: T2, v3: T3) => TResult
Returns
Observable
public combineLatest( first: Observable , second: IPromise , third: IPromise , resultSelector: (v1: T, v2: T2, v3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:418
Parameters
resultSelector: (v1: T, v2: T2, v3: T3) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: Observable , third: Observable , resultSelector: (v1: T, v2: T2, v3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:419
Parameters
resultSelector: (v1: T, v2: T2, v3: T3) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: Observable , third: IPromise , resultSelector: (v1: T, v2: T2, v3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:420
Parameters
resultSelector: (v1: T, v2: T2, v3: T3) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: IPromise , third: Observable , resultSelector: (v1: T, v2: T2, v3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:421
Parameters
resultSelector: (v1: T, v2: T2, v3: T3) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: IPromise , third: IPromise , resultSelector: (v1: T, v2: T2, v3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:422
Parameters
resultSelector: (v1: T, v2: T2, v3: T3) => TResult
Returns
Observable
public combineLatest( first: Observable , second: Observable , third: Observable , fourth: Observable , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:423
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: Observable , second: Observable , third: Observable , fourth: IPromise , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:424
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: Observable , second: Observable , third: IPromise , fourth: Observable , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:425
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: Observable , second: Observable , third: IPromise , fourth: IPromise , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:426
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: Observable , second: IPromise , third: Observable , fourth: Observable , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:427
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: Observable , second: IPromise , third: Observable , fourth: IPromise , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:428
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: Observable , second: IPromise , third: IPromise , fourth: Observable , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:429
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: Observable , second: IPromise , third: IPromise , fourth: IPromise , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:430
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: Observable , third: Observable , fourth: Observable , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:431
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: Observable , third: Observable , fourth: IPromise , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:432
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: Observable , third: IPromise , fourth: Observable , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:433
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: Observable , third: IPromise , fourth: IPromise , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:434
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: IPromise , third: Observable , fourth: Observable , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:435
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: IPromise , third: Observable , fourth: IPromise , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:436
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: IPromise , third: IPromise , fourth: Observable , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:437
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: IPromise , second: IPromise , third: IPromise , fourth: IPromise , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:438
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4) => TResult
Returns
Observable
public combineLatest( first: Observable , second: Observable , third: Observable , fourth: Observable , fifth: Observable , resultSelector: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => TResult ) : Observable
Defined in rx-lite.d.ts:439
Parameters
resultSelector: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => TResult
Returns
Observable
public combineLatest( souces: Observable [] , resultSelector: (...otherValues: TOther[]) => TResult ) : Observable
Defined in rx-lite.d.ts:440
Parameters
resultSelector: (...otherValues: TOther[]) => TResult
Returns
Observable
public combineLatest( souces: IPromise [] , resultSelector: (...otherValues: TOther[]) => TResult ) : Observable
Defined in rx-lite.d.ts:441
Parameters
resultSelector: (...otherValues: TOther[]) => TResult
Returns
Observable
Defined in rx-lite.d.ts:443
Parameters
Returns
Observable
Defined in rx-lite.d.ts:444
Parameters
Returns
Observable
Defined in rx-lite.d.ts:445
Parameters
Returns
Observable
Defined in rx-lite.d.ts:446
Parameters
Returns
Observable
public create( subscribe: (observer: Rx.Observer<T>) => Rx.IDisposable ) : Observable
Defined in rx-lite.d.ts:357
Parameters
subscribe: (observer: Rx.Observer<T>) => Rx.IDisposable
Returns
Observable
public create( subscribe: (observer: Rx.Observer<T>) => () => void ) : Observable
Defined in rx-lite.d.ts:358
Parameters
subscribe: (observer: Rx.Observer<T>) => () => void
Returns
Observable
public create( subscribe: (observer: Rx.Observer<T>) => void ) : Observable
Defined in rx-lite.d.ts:359
Parameters
subscribe: (observer: Rx.Observer<T>) => void
Returns
Observable
public createWithDisposable( subscribe: (observer: Rx.Observer<T>) => Rx.IDisposable ) : Observable
Defined in rx-lite.d.ts:360
Parameters
subscribe: (observer: Rx.Observer<T>) => Rx.IDisposable
Returns
Observable
public defer( observableFactory: () => Rx.Observable<T> ) : Observable
Defined in rx-lite.d.ts:361
Parameters
observableFactory: () => Rx.Observable<T>
Returns
Observable
public defer( observableFactory: () => Rx.IPromise<T> ) : Observable
Defined in rx-lite.d.ts:362
Parameters
observableFactory: () => Rx.IPromise<T>
Returns
Observable
Defined in rx-lite.d.ts:363
Parameters
Returns
Observable
public for( sources: Array<T> , resultSelector: (item: T) => Rx.Observable<TResult> ) : Observable
Defined in rx.experimental.d.ts:127
Concatenates the observable sequences obtained by running the specified result selector for each element in source.
There is an alias for this method called 'forIn' for browsers <IE9
Parameters
Returns
Observable
An observable sequence from the concatenated observable sequences.
public forIn( sources: Array<T> , resultSelector: (item: T) => Rx.Observable<TResult> ) : Observable
Defined in rx.experimental.d.ts:136
Concatenates the observable sequences obtained by running the specified result selector for each element in source.
There is an alias for this method called 'forIn' for browsers <IE9
Parameters
Returns
Observable
An observable sequence from the concatenated observable sequences.
Defined in rx.experimental.d.ts:302
Runs all observable sequences in parallel and collect their last elements.
Parameters
Returns
Observable
An observable sequence with an array collecting the last elements of all the input sequences.
Defined in rx.experimental.d.ts:303
Parameters
Returns
Observable
Defined in rx.experimental.d.ts:313
Runs all observable sequences in parallel and collect their last elements.
Parameters
Returns
Observable
An observable sequence with an array collecting the last elements of all the input sequences.
Defined in rx.experimental.d.ts:314
Parameters
Returns
Observable
public fromArray( array: Array<T> , scheduler?: IScheduler ) : Observable
Defined in rx-lite.d.ts:364
Parameters
Returns
Observable
public fromArray( array: { length: number; [index: number]: T; } , scheduler?: IScheduler ) : Observable
Defined in rx-lite.d.ts:365
Parameters
array: { length: number; [index: number]: T; }
scheduler?: IScheduler optional
Returns
Observable
public fromItreable( generator: () => { next(): { done: boolean; value?: T; }; } , scheduler?: IScheduler ) : Observable
Defined in rx-lite.d.ts:378
Converts an iterable into an Observable sequence
Parameters
Returns
Observable
The observable sequence whose elements are pulled from the given generator sequence.
public fromItreable( iterable: {} , scheduler?: IScheduler ) : Observable
Defined in rx-lite.d.ts:390
Converts an iterable into an Observable sequence
Parameters
Returns
Observable
The observable sequence whose elements are pulled from the given generator sequence.
Defined in rx-lite.d.ts:481
Converts a Promise to an Observable sequence
Parameters
Returns
Observable
An Observable sequence which wraps the existing promise success and failure.
public generate( initialState: TState , condition: (state: TState) => boolean , iterate: (state: TState) => TState , resultSelector: (state: TState) => TResult , scheduler?: IScheduler ) : Observable
Defined in rx-lite.d.ts:391
Parameters
initialState: TState
condition: (state: TState) => boolean
iterate: (state: TState) => TState
resultSelector: (state: TState) => TResult
scheduler?: IScheduler optional
Returns
Observable
public if( condition: () => boolean , thenSource: Observable , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:74
Determines whether an observable collection contains values. There is an alias for this method called 'ifThen' for browsers <IE9
Parameters
condition: () => boolean
The condition which determines if the thenSource or elseSource will be run.
The observable sequence or promise that will be run if the condition function returns true.
The observable sequence or promise that will be run if the condition function returns false.
Returns
Observable
An observable sequence which is either the thenSource or elseSource.
public if( condition: () => boolean , thenSource: Observable , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:75
Parameters
Returns
Observable
public if( condition: () => boolean , thenSource: IPromise , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:76
Parameters
Returns
Observable
public if( condition: () => boolean , thenSource: IPromise , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:77
Parameters
Returns
Observable
public if( condition: () => boolean , thenSource: Observable , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:89
Determines whether an observable collection contains values. There is an alias for this method called 'ifThen' for browsers <IE9
Parameters
condition: () => boolean
The condition which determines if the thenSource or empty sequence will be run.
The observable sequence or promise that will be run if the condition function returns true.
scheduler?: IScheduler optional
Scheduler used to create Rx.Observabe.Empty.
Returns
Observable
An observable sequence which is either the thenSource or empty sequence.
public if( condition: () => boolean , thenSource: IPromise , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:90
Parameters
condition: () => boolean
scheduler?: IScheduler optional
Returns
Observable
public ifThen( condition: () => boolean , thenSource: Observable , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:102
Determines whether an observable collection contains values. There is an alias for this method called 'ifThen' for browsers <IE9
Parameters
condition: () => boolean
The condition which determines if the thenSource or elseSource will be run.
The observable sequence or promise that will be run if the condition function returns true.
The observable sequence or promise that will be run if the condition function returns false.
Returns
Observable
An observable sequence which is either the thenSource or elseSource.
public ifThen( condition: () => boolean , thenSource: Observable , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:103
Parameters
Returns
Observable
public ifThen( condition: () => boolean , thenSource: IPromise , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:104
Parameters
Returns
Observable
public ifThen( condition: () => boolean , thenSource: IPromise , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:105
Parameters
Returns
Observable
public ifThen( condition: () => boolean , thenSource: Observable , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:117
Determines whether an observable collection contains values. There is an alias for this method called 'ifThen' for browsers <IE9
Parameters
condition: () => boolean
The condition which determines if the thenSource or empty sequence will be run.
The observable sequence or promise that will be run if the condition function returns true.
scheduler?: IScheduler optional
Scheduler used to create Rx.Observabe.Empty.
Returns
Observable
An observable sequence which is either the thenSource or empty sequence.
public ifThen( condition: () => boolean , thenSource: IPromise , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:118
Parameters
condition: () => boolean
scheduler?: IScheduler optional
Returns
Observable
Defined in rx-lite.d.ts:447
Parameters
Returns
Observable
Defined in rx-lite.d.ts:448
Parameters
Returns
Observable
Defined in rx-lite.d.ts:449
Parameters
Returns
Observable
Defined in rx-lite.d.ts:450
Parameters
Returns
Observable
Defined in rx-lite.d.ts:451
Parameters
Returns
Observable
Defined in rx-lite.d.ts:452
Parameters
Returns
Observable
Defined in rx-lite.d.ts:453
Parameters
Returns
Observable
Defined in rx-lite.d.ts:454
Parameters
Returns
Observable
public repeat( value: T , repeatCount?: number , scheduler?: IScheduler ) : Observable
Defined in rx-lite.d.ts:394
Parameters
value: T
repeatCount?: number optional
scheduler?: IScheduler optional
Returns
Observable
Defined in rx-lite.d.ts:395
Parameters
Returns
Observable
public switchCase( selector: () => string , sources: { [key: string]: Rx.Observable<T>; } , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:238
Uses selector to determine which source in sources to use.
There is an alias 'switchCase' for browsers <IE9.
Parameters
selector: () => string
The function which extracts the value for to test in a case statement.
sources: { [key: string]: Rx.Observable<T>; }
A object which has keys which correspond to the case statement labels.
The observable sequence or promise that will be run if the sources are not matched.
Returns
Observable
An observable sequence which is determined by a case statement.
public switchCase( selector: () => string , sources: { [key: string]: Rx.IPromise<T>; } , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:239
Parameters
selector: () => string
sources: { [key: string]: Rx.IPromise<T>; }
Returns
Observable
public switchCase( selector: () => string , sources: { [key: string]: Rx.Observable<T>; } , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:240
Parameters
selector: () => string
sources: { [key: string]: Rx.Observable<T>; }
Returns
Observable
public switchCase( selector: () => string , sources: { [key: string]: Rx.IPromise<T>; } , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:241
Parameters
selector: () => string
sources: { [key: string]: Rx.IPromise<T>; }
Returns
Observable
public switchCase( selector: () => string , sources: { [key: string]: Rx.Observable<T>; } , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:257
Uses selector to determine which source in sources to use.
There is an alias 'switchCase' for browsers <IE9.
Parameters
selector: () => string
The function which extracts the value for to test in a case statement.
sources: { [key: string]: Rx.Observable<T>; }
A object which has keys which correspond to the case statement labels.
scheduler?: IScheduler optional
Scheduler used to create Rx.Observabe.Empty.
Returns
Observable
An observable sequence which is determined by a case statement.
public switchCase( selector: () => string , sources: { [key: string]: Rx.IPromise<T>; } , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:258
Parameters
selector: () => string
sources: { [key: string]: Rx.IPromise<T>; }
scheduler?: IScheduler optional
Returns
Observable
public switchCase( selector: () => number , sources: { [key: number]: Rx.Observable<T>; } , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:272
Uses selector to determine which source in sources to use.
There is an alias 'switchCase' for browsers <IE9.
Parameters
selector: () => number
The function which extracts the value for to test in a case statement.
sources: { [key: number]: Rx.Observable<T>; }
A object which has keys which correspond to the case statement labels.
The observable sequence or promise that will be run if the sources are not matched.
Returns
Observable
An observable sequence which is determined by a case statement.
public switchCase( selector: () => number , sources: { [key: number]: Rx.IPromise<T>; } , elseSource: Observable ) : Observable
Defined in rx.experimental.d.ts:273
Parameters
selector: () => number
sources: { [key: number]: Rx.IPromise<T>; }
Returns
Observable
public switchCase( selector: () => number , sources: { [key: number]: Rx.Observable<T>; } , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:274
Parameters
selector: () => number
sources: { [key: number]: Rx.Observable<T>; }
Returns
Observable
public switchCase( selector: () => number , sources: { [key: number]: Rx.IPromise<T>; } , elseSource: IPromise ) : Observable
Defined in rx.experimental.d.ts:275
Parameters
selector: () => number
sources: { [key: number]: Rx.IPromise<T>; }
Returns
Observable
public switchCase( selector: () => number , sources: { [key: number]: Rx.Observable<T>; } , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:291
Uses selector to determine which source in sources to use.
There is an alias 'switchCase' for browsers <IE9.
Parameters
selector: () => number
The function which extracts the value for to test in a case statement.
sources: { [key: number]: Rx.Observable<T>; }
A object which has keys which correspond to the case statement labels.
scheduler?: IScheduler optional
Scheduler used to create Rx.Observabe.Empty.
Returns
Observable
An observable sequence which is determined by a case statement.
public switchCase( selector: () => number , sources: { [key: number]: Rx.IPromise<T>; } , scheduler?: IScheduler ) : Observable
Defined in rx.experimental.d.ts:292
Parameters
selector: () => number
sources: { [key: number]: Rx.IPromise<T>; }
scheduler?: IScheduler optional
Returns
Observable
public using( resourceFactory: () => TResource , observableFactory: (resource: TResource) => Rx.Observable<TSource> ) : Observable
Parameters
resourceFactory: () => TResource
observableFactory: (resource: TResource) => Rx.Observable<TSource>
Returns
Observable
public while( condition: () => boolean , source: Observable ) : Observable
Defined in rx.experimental.d.ts:145
Repeats source as long as condition holds emulating a while loop.
There is an alias for this method called 'whileDo' for browsers <IE9
Parameters
Returns
Observable
An observable sequence which is repeated as long as the condition holds.
public while( condition: () => boolean , source: IPromise ) : Observable
Defined in rx.experimental.d.ts:146
Parameters
Returns
Observable
public whileDo( condition: () => boolean , source: Observable ) : Observable
Defined in rx.experimental.d.ts:155
Repeats source as long as condition holds emulating a while loop.
There is an alias for this method called 'whileDo' for browsers <IE9
Parameters
Returns
Observable
An observable sequence which is repeated as long as the condition holds.
public whileDo( condition: () => boolean , source: IPromise ) : Observable
Defined in rx.experimental.d.ts:156
Parameters
Returns
Observable
public zip( first: Observable , sources: Observable [] , resultSelector: (item1: T1, ...right: T2[]) => TResult ) : Observable
Defined in rx-lite.d.ts:456
Parameters
resultSelector: (item1: T1, ...right: T2[]) => TResult
Returns
Observable
public zip( first: Observable , sources: IPromise [] , resultSelector: (item1: T1, ...right: T2[]) => TResult ) : Observable
Defined in rx-lite.d.ts:457
Parameters
resultSelector: (item1: T1, ...right: T2[]) => TResult
Returns
Observable
public zip( source1: Observable , source2: Observable , resultSelector: (item1: T1, item2: T2) => TResult ) : Observable
Defined in rx-lite.d.ts:458
Parameters
resultSelector: (item1: T1, item2: T2) => TResult
Returns
Observable
public zip( source1: Observable , source2: IPromise , resultSelector: (item1: T1, item2: T2) => TResult ) : Observable
Defined in rx-lite.d.ts:459
Parameters
resultSelector: (item1: T1, item2: T2) => TResult
Returns
Observable
public zip( source1: Observable , source2: Observable , source3: Observable , resultSelector: (item1: T1, item2: T2, item3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:460
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3) => TResult
Returns
Observable
public zip( source1: Observable , source2: Observable , source3: IPromise , resultSelector: (item1: T1, item2: T2, item3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:461
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3) => TResult
Returns
Observable
public zip( source1: Observable , source2: IPromise , source3: Observable , resultSelector: (item1: T1, item2: T2, item3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:462
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3) => TResult
Returns
Observable
public zip( source1: Observable , source2: IPromise , source3: IPromise , resultSelector: (item1: T1, item2: T2, item3: T3) => TResult ) : Observable
Defined in rx-lite.d.ts:463
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3) => TResult
Returns
Observable
public zip( source1: Observable , source2: Observable , source3: Observable , source4: Observable , resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:464
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult
Returns
Observable
public zip( source1: Observable , source2: Observable , source3: Observable , source4: IPromise , resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:465
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult
Returns
Observable
public zip( source1: Observable , source2: Observable , source3: IPromise , source4: Observable , resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:466
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult
Returns
Observable
public zip( source1: Observable , source2: Observable , source3: IPromise , source4: IPromise , resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:467
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult
Returns
Observable
public zip( source1: Observable , source2: IPromise , source3: Observable , source4: Observable , resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:468
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult
Returns
Observable
public zip( source1: Observable , source2: IPromise , source3: Observable , source4: IPromise , resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:469
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult
Returns
Observable
public zip( source1: Observable , source2: IPromise , source3: IPromise , source4: Observable , resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:470
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult
Returns
Observable
public zip( source1: Observable , source2: IPromise , source3: IPromise , source4: IPromise , resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult ) : Observable
Defined in rx-lite.d.ts:471
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4) => TResult
Returns
Observable
public zip( source1: Observable , source2: Observable , source3: Observable , source4: Observable , source5: Observable , resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4, item5: T5) => TResult ) : Observable
Defined in rx-lite.d.ts:472
Parameters
resultSelector: (item1: T1, item2: T2, item3: T3, item4: T4, item5: T5) => TResult
Returns
Observable
Defined in rx-lite.d.ts:473
Parameters
Returns
Observable
Defined in rx-lite.d.ts:474
Parameters
Returns
Observable