forked from ReactiveX/rxjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(operator): add auto-patching operators
This change adds a subfolder inside of operator which contains a module to correspond with each operator, which when imported, will automatically patch the corresponding operator to the Observable prototype. Closes ReactiveX#860
- Loading branch information
1 parent
70f7aa8
commit 3d263ec
Showing
90 changed files
with
289 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {buffer} from '../operator/buffer'; | ||
Observable.prototype.buffer = buffer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {bufferCount} from '../operator/bufferCount'; | ||
Observable.prototype.bufferCount = bufferCount; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {bufferTime} from '../operator/bufferTime'; | ||
Observable.prototype.bufferTime = bufferTime; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {bufferToggle} from '../operator/bufferToggle'; | ||
Observable.prototype.bufferToggle = bufferToggle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {bufferWhen} from '../operator/bufferWhen'; | ||
Observable.prototype.bufferWhen = bufferWhen; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {_catch} from '../operator/catch'; | ||
Observable.prototype.catch = _catch; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {combineAll} from '../operator/combineAll'; | ||
Observable.prototype.combineAll = combineAll; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {combineLatest} from '../operator/combineLatest-static'; | ||
Observable.prototype.combineLatest = combineLatest; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {combineLatest} from '../operator/combineLatest'; | ||
Observable.prototype.combineLatest = combineLatest; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {concat} from '../operator/concat-static'; | ||
Observable.prototype.concat = concat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {concat} from '../operator/concat'; | ||
Observable.prototype.concat = concat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {concatAll} from '../operator/concatAll'; | ||
Observable.prototype.concatAll = concatAll; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {concatMap} from '../operator/concatMap'; | ||
Observable.prototype.concatMap = concatMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {concatMapTo} from '../operator/concatMapTo'; | ||
Observable.prototype.concatMapTo = concatMapTo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {count} from '../operator/count'; | ||
Observable.prototype.count = count; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {debounce} from '../operator/debounce'; | ||
Observable.prototype.debounce = debounce; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {debounceTime} from '../operator/debounceTime'; | ||
Observable.prototype.debounceTime = debounceTime; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {defaultIfEmpty} from '../operator/defaultIfEmpty'; | ||
Observable.prototype.defaultIfEmpty = defaultIfEmpty; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {delay} from '../operator/delay'; | ||
Observable.prototype.delay = delay; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {dematerialize} from '../operator/dematerialize'; | ||
Observable.prototype.dematerialize = dematerialize; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {distinctUntilChanged} from '../operator/distinctUntilChanged'; | ||
Observable.prototype.distinctUntilChanged = distinctUntilChanged; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {_do} from '../operator/do'; | ||
Observable.prototype.do = _do; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {every} from '../operator/every'; | ||
Observable.prototype.every = every; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {expand} from '../operator/expand'; | ||
Observable.prototype.expand = expand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Observable} from '../../Observable'; | ||
import {distinctUntilKeyChanged} from '../../operator/extended/distinctUntilKeyChanged'; | ||
import {KitchenSinkOperators} from '../../Rx.KitchenSink'; | ||
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype); | ||
observableProto.distinctUntilKeyChanged = distinctUntilKeyChanged; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Observable} from '../../Observable'; | ||
import {elementAt} from '../../operator/extended/elementAt'; | ||
import {KitchenSinkOperators} from '../../Rx.KitchenSink'; | ||
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype); | ||
observableProto.elementAt = elementAt; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Observable} from '../../Observable'; | ||
import {find} from '../../operator/extended/find'; | ||
import {KitchenSinkOperators} from '../../Rx.KitchenSink'; | ||
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype); | ||
observableProto.find = find; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Observable} from '../../Observable'; | ||
import {findIndex} from '../../operator/extended/findIndex'; | ||
import {KitchenSinkOperators} from '../../Rx.KitchenSink'; | ||
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype); | ||
observableProto.findIndex = findIndex; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Observable} from '../../Observable'; | ||
import {isEmpty} from '../../operator/extended/isEmpty'; | ||
import {KitchenSinkOperators} from '../../Rx.KitchenSink'; | ||
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype); | ||
observableProto.isEmpty = isEmpty; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Observable} from '../../Observable'; | ||
import {max} from '../../operator/extended/max'; | ||
import {KitchenSinkOperators} from '../../Rx.KitchenSink'; | ||
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype); | ||
observableProto.max = max; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Observable} from '../../Observable'; | ||
import {mergeScan} from '../../operator/extended/mergeScan'; | ||
import {KitchenSinkOperators} from '../../Rx.KitchenSink'; | ||
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype); | ||
observableProto.mergeScan = mergeScan; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Observable} from '../../Observable'; | ||
import {min} from '../../operator/extended/min'; | ||
import {KitchenSinkOperators} from '../../Rx.KitchenSink'; | ||
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype); | ||
observableProto.min = min; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import {Observable} from '../../Observable'; | ||
import {timeInterval} from '../../operator/extended/timeInterval'; | ||
import {KitchenSinkOperators} from '../../Rx.KitchenSink'; | ||
const observableProto = (<KitchenSinkOperators<any>>Observable.prototype); | ||
observableProto.timeInterval = timeInterval; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {filter} from '../operator/filter'; | ||
Observable.prototype.filter = filter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {_finally} from '../operator/finally'; | ||
Observable.prototype.finally = _finally; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {first} from '../operator/first'; | ||
Observable.prototype.first = first; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {groupBy} from '../operator/groupBy'; | ||
Observable.prototype.groupBy = groupBy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {ignoreElements} from '../operator/ignoreElements'; | ||
Observable.prototype.ignoreElements = ignoreElements; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {last} from '../operator/last'; | ||
Observable.prototype.last = last; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {map} from '../operator/map'; | ||
Observable.prototype.map = map; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {mapTo} from '../operator/mapTo'; | ||
Observable.prototype.mapTo = mapTo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {materialize} from '../operator/materialize'; | ||
Observable.prototype.materialize = materialize; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {merge} from '../operator/merge-static'; | ||
Observable.prototype.merge = merge; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {merge} from '../operator/merge'; | ||
Observable.prototype.merge = merge; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {mergeAll} from '../operator/mergeAll'; | ||
Observable.prototype.mergeAll = mergeAll; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import {Observable} from '../Observable'; | ||
import {mergeMap} from '../operator/mergeMap'; | ||
Observable.prototype.mergeMap = mergeMap; | ||
Observable.prototype.flatMap = mergeMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {mergeMapTo} from '../operator/mergeMapTo'; | ||
Observable.prototype.mergeMapTo = mergeMapTo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {multicast} from '../operator/multicast'; | ||
Observable.prototype.multicast = multicast; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {observeOn} from '../operator/observeOn'; | ||
Observable.prototype.observeOn = observeOn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {partition} from '../operator/partition'; | ||
Observable.prototype.partition = partition; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {publish} from '../operator/publish'; | ||
Observable.prototype.publish = publish; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {publishBehavior} from '../operator/publishBehavior'; | ||
Observable.prototype.publishBehavior = publishBehavior; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {publishReplay} from '../operator/publishReplay'; | ||
Observable.prototype.publishReplay = publishReplay; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {reduce} from '../operator/reduce'; | ||
Observable.prototype.reduce = reduce; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {repeat} from '../operator/repeat'; | ||
Observable.prototype.repeat = repeat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {retry} from '../operator/retry'; | ||
Observable.prototype.retry = retry; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {retryWhen} from '../operator/retryWhen'; | ||
Observable.prototype.retryWhen = retryWhen; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {sample} from '../operator/sample'; | ||
Observable.prototype.sample = sample; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {sampleTime} from '../operator/sampleTime'; | ||
Observable.prototype.sampleTime = sampleTime; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {scan} from '../operator/scan'; | ||
Observable.prototype.scan = scan; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {share} from '../operator/share'; | ||
Observable.prototype.share = share; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {single} from '../operator/single'; | ||
Observable.prototype.single = single; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {skip} from '../operator/skip'; | ||
Observable.prototype.skip = skip; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {skipUntil} from '../operator/skipUntil'; | ||
Observable.prototype.skipUntil = skipUntil; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {skipWhile} from '../operator/skipWhile'; | ||
Observable.prototype.skipWhile = skipWhile; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {startWith} from '../operator/startWith'; | ||
Observable.prototype.startWith = startWith; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {subscribeOn} from '../operator/subscribeOn'; | ||
Observable.prototype.subscribeOn = subscribeOn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {_switch} from '../operator/switch'; | ||
Observable.prototype.switch = _switch; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {switchFirst} from '../operator/switchFirst'; | ||
Observable.prototype.switchFirst = switchFirst; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {switchMap} from '../operator/switchMap'; | ||
Observable.prototype.switchMap = switchMap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {switchMapFirst} from '../operator/switchMapFirst'; | ||
Observable.prototype.switchMapFirst = switchMapFirst; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {switchMapTo} from '../operator/switchMapTo'; | ||
Observable.prototype.switchMapTo = switchMapTo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {take} from '../operator/take'; | ||
Observable.prototype.take = take; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {takeUntil} from '../operator/takeUntil'; | ||
Observable.prototype.takeUntil = takeUntil; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {takeWhile} from '../operator/takeWhile'; | ||
Observable.prototype.takeWhile = takeWhile; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {throttle} from '../operator/throttle'; | ||
Observable.prototype.throttle = throttle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {throttleTime} from '../operator/throttleTime'; | ||
Observable.prototype.throttleTime = throttleTime; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {timeout} from '../operator/timeout'; | ||
Observable.prototype.timeout = timeout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {timeoutWith} from '../operator/timeoutWith'; | ||
Observable.prototype.timeoutWith = timeoutWith; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {toArray} from '../operator/toArray'; | ||
Observable.prototype.toArray = toArray; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {toPromise} from '../operator/toPromise'; | ||
Observable.prototype.toPromise = toPromise; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {window} from '../operator/window'; | ||
Observable.prototype.window = window; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {windowCount} from '../operator/windowCount'; | ||
Observable.prototype.windowCount = windowCount; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {windowTime} from '../operator/windowTime'; | ||
Observable.prototype.windowTime = windowTime; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {windowToggle} from '../operator/windowToggle'; | ||
Observable.prototype.windowToggle = windowToggle; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {windowWhen} from '../operator/windowWhen'; | ||
Observable.prototype.windowWhen = windowWhen; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {withLatestFrom} from '../operator/withLatestFrom'; | ||
Observable.prototype.withLatestFrom = withLatestFrom; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {zip} from '../operator/zip-static'; | ||
Observable.prototype.zip = zip; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {zipProto} from '../operator/zip'; | ||
Observable.prototype.zip = zipProto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import {Observable} from '../Observable'; | ||
import {zipAll} from '../operator/zipAll'; | ||
Observable.prototype.zipAll = zipAll; |