new license file version [CI SKIP]
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
require("rxjs-compat/add/operator/multicast");
|
||||
//# sourceMappingURL=multicast.js.map
|
||||
@@ -0,0 +1,81 @@
|
||||
import { Operator } from '../Operator';
|
||||
import { Observable } from '../Observable';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { Observer, OperatorFunction } from '../types';
|
||||
|
||||
/**
|
||||
* Returns an Observable that emits whether or not every item of the source satisfies the condition specified.
|
||||
*
|
||||
* ## Example
|
||||
* A simple example emitting true if all elements are less than 5, false otherwise
|
||||
* ```ts
|
||||
* import { of } from 'rxjs';
|
||||
* import { every } from 'rxjs/operators';
|
||||
*
|
||||
* of(1, 2, 3, 4, 5, 6).pipe(
|
||||
* every(x => x < 5),
|
||||
* )
|
||||
* .subscribe(x => console.log(x)); // -> false
|
||||
* ```
|
||||
*
|
||||
* @param {function} predicate A function for determining if an item meets a specified condition.
|
||||
* @param {any} [thisArg] Optional object to use for `this` in the callback.
|
||||
* @return {Observable} An Observable of booleans that determines if all items of the source Observable meet the condition specified.
|
||||
* @method every
|
||||
* @owner Observable
|
||||
*/
|
||||
export function every<T>(predicate: (value: T, index: number, source: Observable<T>) => boolean,
|
||||
thisArg?: any): OperatorFunction<T, boolean> {
|
||||
return (source: Observable<T>) => source.lift(new EveryOperator(predicate, thisArg, source));
|
||||
}
|
||||
|
||||
class EveryOperator<T> implements Operator<T, boolean> {
|
||||
constructor(private predicate: (value: T, index: number, source: Observable<T>) => boolean,
|
||||
private thisArg?: any,
|
||||
private source?: Observable<T>) {
|
||||
}
|
||||
|
||||
call(observer: Subscriber<boolean>, source: any): any {
|
||||
return source.subscribe(new EverySubscriber(observer, this.predicate, this.thisArg, this.source));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* We need this JSDoc comment for affecting ESDoc.
|
||||
* @ignore
|
||||
* @extends {Ignored}
|
||||
*/
|
||||
class EverySubscriber<T> extends Subscriber<T> {
|
||||
private index: number = 0;
|
||||
|
||||
constructor(destination: Observer<boolean>,
|
||||
private predicate: (value: T, index: number, source: Observable<T>) => boolean,
|
||||
private thisArg: any,
|
||||
private source?: Observable<T>) {
|
||||
super(destination);
|
||||
this.thisArg = thisArg || this;
|
||||
}
|
||||
|
||||
private notifyComplete(everyValueMatch: boolean): void {
|
||||
this.destination.next(everyValueMatch);
|
||||
this.destination.complete();
|
||||
}
|
||||
|
||||
protected _next(value: T): void {
|
||||
let result = false;
|
||||
try {
|
||||
result = this.predicate.call(this.thisArg, value, this.index++, this.source);
|
||||
} catch (err) {
|
||||
this.destination.error(err);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!result) {
|
||||
this.notifyComplete(false);
|
||||
}
|
||||
}
|
||||
|
||||
protected _complete(): void {
|
||||
this.notifyComplete(true);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"publish.js","sources":["../../src/add/operator/publish.ts"],"names":[],"mappings":";;AAAA,4CAA0C"}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
require("rxjs-compat/add/operator/min");
|
||||
//# sourceMappingURL=min.js.map
|
||||
@@ -0,0 +1 @@
|
||||
import 'rxjs-compat/add/observable/defer';
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"timeoutWith.js","sources":["../src/operators/timeoutWith.ts"],"names":[],"mappings":";;;;;AAAA,uDAAkD"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"concat.js","sources":["../../../src/internal/operators/concat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAG,MAAM,IAAI,YAAY,EAAE,MAAM,sBAAsB,CAAC;AA0B/D,MAAM,UAAU,MAAM;IAAO,qBAA2D;SAA3D,UAA2D,EAA3D,qBAA2D,EAA3D,IAA2D;QAA3D,gCAA2D;;IACtF,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,gBAAC,MAAM,SAAK,WAAW,GAAE,EAAtD,CAAsD,CAAC;AAC3F,CAAC"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"race.js","sources":["../src/operators/race.ts"],"names":[],"mappings":";;;;;AAAA,gDAA2C"}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"scheduleObservable.js","sources":["../../../src/internal/scheduled/scheduleObservable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAGvE,MAAM,UAAU,kBAAkB,CAAI,KAA2B,EAAE,SAAwB;IACzF,OAAO,IAAI,UAAU,CAAI,UAAU,CAAC,EAAE;QACpC,MAAM,GAAG,GAAG,IAAI,YAAY,EAAE,CAAC;QAC/B,GAAG,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE;YAC9B,MAAM,UAAU,GAAoB,KAAK,CAAC,iBAAiB,CAAC,EAAE,CAAC;YAC/D,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,SAAS,CAAC;gBAC3B,IAAI,CAAC,KAAK,IAAI,GAAG,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC1E,KAAK,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACxE,QAAQ,KAAK,GAAG,CAAC,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;aACzE,CAAC,CAAC,CAAC;QACN,CAAC,CAAC,CAAC,CAAC;QACJ,OAAO,GAAG,CAAC;IACb,CAAC,CAAC,CAAC;AACL,CAAC"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"delay.js","sources":["../src/operator/delay.ts"],"names":[],"mappings":";;;;;AAAA,gDAA2C"}
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.01019,"53":0,"54":0,"55":0.0051,"56":0.0051,"57":0,"58":0,"59":0,"60":0.0051,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0.0051,"67":0,"68":0.0051,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.02038,"79":0.0051,"80":0.0051,"81":0.01019,"82":0.0051,"83":0.0051,"84":0,"85":0,"86":0,"87":0,"88":0.0051,"89":0,"90":0,"91":0.01529,"92":0,"93":0,"94":0.0051,"95":0.0051,"96":0,"97":0,"98":0,"99":0,"100":0.0051,"101":0,"102":0.22422,"103":0.0051,"104":0.0051,"105":0.01019,"106":0.01529,"107":0.03058,"108":1.0141,"109":0.58094,"110":0.0051,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0.0051,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0.03058,"48":0.01019,"49":0.0051,"50":0,"51":0,"52":0.05606,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0.0051,"62":0,"63":0,"64":0,"65":0,"66":0.02038,"67":0.0051,"68":0.0051,"69":0,"70":0,"71":0,"72":0.04586,"73":0.05606,"74":0.0051,"75":0,"76":0.0051,"77":0.0051,"78":0.0051,"79":0.05606,"80":0.0051,"81":0.0051,"83":0.01529,"84":0.02038,"85":0.13759,"86":0.04077,"87":0.03058,"88":0.0051,"89":0.01019,"90":0.01019,"91":0.01019,"92":0.02548,"93":0.02548,"94":0.01019,"95":0.0051,"96":0.02548,"97":0.04077,"98":0.02038,"99":0.01529,"100":0.06115,"101":0.06115,"102":0.04077,"103":0.15288,"104":0.04586,"105":0.08154,"106":0.06625,"107":0.22932,"108":7.15988,"109":6.18145,"110":0.0051,"111":0,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.01019,"74":0,"75":0,"76":0,"77":0.0051,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0.0051,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.0051,"93":0.19365,"94":0.30576,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.0051,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.0051,"93":0,"94":0,"95":0,"96":0,"97":0.0051,"98":0,"99":0,"100":0,"101":0,"102":0.0051,"103":0.01019,"104":0.0051,"105":0.01019,"106":0.02038,"107":0.05606,"108":2.00273,"109":1.98234},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.01019,"14":0.07644,"15":0.01529,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.03058,"13.1":0.11211,"14.1":0.21403,"15.1":0.04077,"15.2-15.3":0.03058,"15.4":0.07134,"15.5":0.16307,"15.6":1.02939,"16.0":0.11721,"16.1":0.40258,"16.2":0.85103,"16.3":0.06625},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0.00312,"8.1-8.4":0.00625,"9.0-9.2":0.06561,"9.3":0.06874,"10.0-10.2":0,"10.3":0.1031,"11.0-11.2":0.00312,"11.3-11.4":0.05311,"12.0-12.1":0.00625,"12.2-12.5":0.53739,"13.0-13.1":0.0125,"13.2":0.00937,"13.3":0.02187,"13.4-13.7":0.07811,"14.0-14.4":0.29369,"14.5-14.8":0.8217,"15.0-15.1":0.19683,"15.2-15.3":0.27494,"15.4":0.32806,"15.5":0.79358,"15.6":3.45239,"16.0":4.23972,"16.1":11.28823,"16.2":6.57673,"16.3":0.50614},P:{"4":0.09303,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.01034,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0.01034,"12.0":0.01034,"13.0":0.02067,"14.0":0.02067,"15.0":0.02067,"16.0":0.03101,"17.0":0.04135,"18.0":0.1137,"19.0":4.50683},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0.03581,"2.3":0,"4.1":0.00597,"4.2-4.3":0.01791,"4.4":0,"4.4.3-4.4.4":0.10147},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0.0063,"7":0.0063,"8":0.01889,"9":0.03777,"10":0.01259,"11":0.1322,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.54434},Q:{"13.1":0.01962},O:{"0":0.38251},H:{"0":0.36214},L:{"0":35.30375},S:{"2.5":0}};
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Throws an error on another job so that it's picked up by the runtime's
|
||||
* uncaught error handling mechanism.
|
||||
* @param err the error to throw
|
||||
*/
|
||||
export function hostReportError(err: any) {
|
||||
setTimeout(() => { throw err; }, 0);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import { Node, Identifier } from 'estree';
|
||||
export interface Context {
|
||||
key: Identifier;
|
||||
name?: string;
|
||||
modifier: (node: Node) => Node;
|
||||
default_modifier: (node: Node, to_ctx: (name: string) => Node) => Node;
|
||||
}
|
||||
export declare function unpack_destructuring(contexts: Context[], node: Node, modifier?: Context['modifier'], default_modifier?: Context['default_modifier']): void;
|
||||
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
require("rxjs-compat/add/operator/startWith");
|
||||
//# sourceMappingURL=startWith.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Notification.js","sources":["../../src/internal/Notification.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAOrD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gB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":"G A B","2":"J E F BC"},B:{"1":"C K L H M N O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t"},C:{"1":"0 1 2 3 4 5 6 7 8 9 K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"CC tB I u J E F G A B C DC EC"},D:{"1":"1 2 3 4 5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","2":"0 I u J E F G A B C K L H M N O v w x y z"},E:{"1":"E F G A B C K L H JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u J GC zB HC IC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 B C H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d QC RC qB 9B SC rB","2":"G OC PC"},G:{"1":"F WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","2":"zB TC AC UC VC"},H:{"1":"nC"},I:{"1":"D sC tC","2":"tB I oC pC qC rC AC"},J:{"1":"A","2":"E"},K:{"1":"B C e qB 9B rB","2":"A"},L:{"1":"D"},M:{"1":"D"},N:{"1":"A B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:4,C:"CSS background-position edge offsets"};
|
||||
@@ -0,0 +1 @@
|
||||
export * from 'rxjs-compat/operator/repeat';
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.02369,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0.00338,"77":0,"78":0.00338,"79":0.00338,"80":0,"81":0.00338,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0.00677,"103":0,"104":0.00338,"105":0.00338,"106":0.00338,"107":0.01015,"108":0.28426,"109":0.1049,"110":0,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0.00338,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0.14551,"36":0,"37":0,"38":0.00338,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0.00338,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00338,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0.00338,"66":0,"67":0,"68":0.00338,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0.00338,"75":0.00677,"76":0.01354,"77":0,"78":0.00338,"79":0.01354,"80":0.00677,"81":0.00338,"83":0.01354,"84":0.01692,"85":0.02369,"86":0.01692,"87":0.01354,"88":0.00338,"89":0.00338,"90":0.00677,"91":0.0203,"92":0.01692,"93":0.03384,"94":0.01354,"95":0.00338,"96":0.01692,"97":0.00677,"98":0.01015,"99":0.00677,"100":0.01015,"101":0.00677,"102":0.02707,"103":0.08798,"104":0.01692,"105":0.04061,"106":0.03046,"107":0.19627,"108":3.48552,"109":3.52951,"110":0.00338,"111":0,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0.00338,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0.00338,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0.00338,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.02707,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0.00338,"91":0,"92":0.00338,"93":0.12859,"94":0.12859,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.00338,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.00677,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0.00338,"105":0.00338,"106":0.00338,"107":0.01692,"108":0.48391,"109":0.56174},E:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0.01015,"14":0.03046,"15":0.00677,_:"0","3.1":0,"3.2":0,"5.1":0.00338,"6.1":0,"7.1":0,"9.1":0,"10.1":0,"11.1":0,"12.1":0.00677,"13.1":0.02707,"14.1":0.08122,"15.1":0.01354,"15.2-15.3":0.01354,"15.4":0.03722,"15.5":0.07445,"15.6":0.33163,"16.0":0.04061,"16.1":0.16582,"16.2":0.23688,"16.3":0.01692},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0.05032,"8.1-8.4":0,"9.0-9.2":0,"9.3":0.14888,"10.0-10.2":0.0021,"10.3":0.10065,"11.0-11.2":0.01258,"11.3-11.4":0.01048,"12.0-12.1":0.01677,"12.2-12.5":0.41308,"13.0-13.1":0.00629,"13.2":0.00419,"13.3":0.01887,"13.4-13.7":0.08387,"14.0-14.4":0.22856,"14.5-14.8":0.51373,"15.0-15.1":0.18033,"15.2-15.3":0.21388,"15.4":0.2663,"15.5":0.62067,"15.6":2.23106,"16.0":2.86012,"16.1":6.17526,"16.2":4.8815,"16.3":0.49905},P:{"4":0.07278,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0.03119,"8.2":0,"9.2":0,"10.1":0,"11.1-11.2":0.0104,"12.0":0,"13.0":0.03119,"14.0":0.02079,"15.0":0.0104,"16.0":0.04159,"17.0":0.04159,"18.0":0.07278,"19.0":1.92337},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.0703},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.004,"9":0.004,"10":0,"11":0.03599,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},S:{"2.5":0.00662},R:{_:"0"},M:{"0":0.18525},Q:{"13.1":0},O:{"0":3.42047},H:{"0":0.64515},L:{"0":60.27319}};
|
||||
@@ -0,0 +1,6 @@
|
||||
module.exports =
|
||||
{
|
||||
parallel : require('./parallel.js'),
|
||||
serial : require('./serial.js'),
|
||||
serialOrdered : require('./serialOrdered.js')
|
||||
};
|
||||
@@ -0,0 +1,84 @@
|
||||
import { Operator } from '../Operator';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { Notification } from '../Notification';
|
||||
import { MonoTypeOperatorFunction, PartialObserver, SchedulerAction, SchedulerLike, TeardownLogic } from '../types';
|
||||
/**
|
||||
*
|
||||
* Re-emits all notifications from source Observable with specified scheduler.
|
||||
*
|
||||
* <span class="informal">Ensure a specific scheduler is used, from outside of an Observable.</span>
|
||||
*
|
||||
* `observeOn` is an operator that accepts a scheduler as a first parameter, which will be used to reschedule
|
||||
* notifications emitted by the source Observable. It might be useful, if you do not have control over
|
||||
* internal scheduler of a given Observable, but want to control when its values are emitted nevertheless.
|
||||
*
|
||||
* Returned Observable emits the same notifications (nexted values, complete and error events) as the source Observable,
|
||||
* but rescheduled with provided scheduler. Note that this doesn't mean that source Observables internal
|
||||
* scheduler will be replaced in any way. Original scheduler still will be used, but when the source Observable emits
|
||||
* notification, it will be immediately scheduled again - this time with scheduler passed to `observeOn`.
|
||||
* An anti-pattern would be calling `observeOn` on Observable that emits lots of values synchronously, to split
|
||||
* that emissions into asynchronous chunks. For this to happen, scheduler would have to be passed into the source
|
||||
* Observable directly (usually into the operator that creates it). `observeOn` simply delays notifications a
|
||||
* little bit more, to ensure that they are emitted at expected moments.
|
||||
*
|
||||
* As a matter of fact, `observeOn` accepts second parameter, which specifies in milliseconds with what delay notifications
|
||||
* will be emitted. The main difference between {@link delay} operator and `observeOn` is that `observeOn`
|
||||
* will delay all notifications - including error notifications - while `delay` will pass through error
|
||||
* from source Observable immediately when it is emitted. In general it is highly recommended to use `delay` operator
|
||||
* for any kind of delaying of values in the stream, while using `observeOn` to specify which scheduler should be used
|
||||
* for notification emissions in general.
|
||||
*
|
||||
* ## Example
|
||||
* Ensure values in subscribe are called just before browser repaint.
|
||||
* ```ts
|
||||
* import { interval } from 'rxjs';
|
||||
* import { observeOn } from 'rxjs/operators';
|
||||
*
|
||||
* const intervals = interval(10); // Intervals are scheduled
|
||||
* // with async scheduler by default...
|
||||
* intervals.pipe(
|
||||
* observeOn(animationFrameScheduler), // ...but we will observe on animationFrame
|
||||
* ) // scheduler to ensure smooth animation.
|
||||
* .subscribe(val => {
|
||||
* someDiv.style.height = val + 'px';
|
||||
* });
|
||||
* ```
|
||||
*
|
||||
* @see {@link delay}
|
||||
*
|
||||
* @param {SchedulerLike} scheduler Scheduler that will be used to reschedule notifications from source Observable.
|
||||
* @param {number} [delay] Number of milliseconds that states with what delay every notification should be rescheduled.
|
||||
* @return {Observable<T>} Observable that emits the same notifications as the source Observable,
|
||||
* but with provided scheduler.
|
||||
*
|
||||
* @method observeOn
|
||||
* @owner Observable
|
||||
*/
|
||||
export declare function observeOn<T>(scheduler: SchedulerLike, delay?: number): MonoTypeOperatorFunction<T>;
|
||||
export declare class ObserveOnOperator<T> implements Operator<T, T> {
|
||||
private scheduler;
|
||||
private delay;
|
||||
constructor(scheduler: SchedulerLike, delay?: number);
|
||||
call(subscriber: Subscriber<T>, source: any): TeardownLogic;
|
||||
}
|
||||
/**
|
||||
* We need this JSDoc comment for affecting ESDoc.
|
||||
* @ignore
|
||||
* @extends {Ignored}
|
||||
*/
|
||||
export declare class ObserveOnSubscriber<T> extends Subscriber<T> {
|
||||
private scheduler;
|
||||
private delay;
|
||||
/** @nocollapse */
|
||||
static dispatch(this: SchedulerAction<ObserveOnMessage>, arg: ObserveOnMessage): void;
|
||||
constructor(destination: Subscriber<T>, scheduler: SchedulerLike, delay?: number);
|
||||
private scheduleMessage;
|
||||
protected _next(value: T): void;
|
||||
protected _error(err: any): void;
|
||||
protected _complete(): void;
|
||||
}
|
||||
export declare class ObserveOnMessage {
|
||||
notification: Notification<any>;
|
||||
destination: PartialObserver<any>;
|
||||
constructor(notification: Notification<any>, destination: PartialObserver<any>);
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"startWith.js","sources":["../../../src/internal/operators/startWith.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAiElD,MAAM,UAAU,SAAS;IAAO,eAAkC;SAAlC,UAAkC,EAAlC,qBAAkC,EAAlC,IAAkC;QAAlC,0BAAkC;;IAChE,IAAM,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAkB,CAAC;IAC3D,IAAI,WAAW,CAAC,SAAS,CAAC,EAAE;QAE1B,KAAK,CAAC,GAAG,EAAE,CAAC;QACZ,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,KAAY,EAAE,MAAM,EAAE,SAAS,CAAC,EAAvC,CAAuC,CAAC;KAC3E;SAAM;QACL,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,KAAY,EAAE,MAAM,CAAC,EAA5B,CAA4B,CAAC;KAChE;AACH,CAAC"}
|
||||
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"name": "get-stream",
|
||||
"version": "5.2.0",
|
||||
"description": "Get a stream as a string, buffer, or array",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/get-stream",
|
||||
"funding": "https://github.com/sponsors/sindresorhus",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "https://sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava && tsd"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts",
|
||||
"buffer-stream.js"
|
||||
],
|
||||
"keywords": [
|
||||
"get",
|
||||
"stream",
|
||||
"promise",
|
||||
"concat",
|
||||
"string",
|
||||
"text",
|
||||
"buffer",
|
||||
"read",
|
||||
"data",
|
||||
"consume",
|
||||
"readable",
|
||||
"readablestream",
|
||||
"array",
|
||||
"object"
|
||||
],
|
||||
"dependencies": {
|
||||
"pump": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^12.0.7",
|
||||
"ava": "^2.0.0",
|
||||
"into-stream": "^5.0.0",
|
||||
"tsd": "^0.7.2",
|
||||
"xo": "^0.24.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"timeInterval.js","sources":["../src/operators/timeInterval.ts"],"names":[],"mappings":";;;;;AAAA,wDAAmD"}
|
||||
Reference in New Issue
Block a user