1 line
36 KiB
JSON
1 line
36 KiB
JSON
{"id":"nb45","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/sampleTime.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/sampleTime.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395749058},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"tslib","loc":{"line":2,"column":25},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/sampleTime.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/tslib/tslib.es6.js"},{"name":"../Subscriber","loc":{"line":3,"column":27},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/sampleTime.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/Subscriber.js"},{"name":"../scheduler/async","loc":{"line":4,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/sampleTime.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/scheduler/async.js"}],"generated":{"js":"\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:!0}),exports.sampleTime=n;var e=i(require(\"tslib\")),t=require(\"../Subscriber\"),r=require(\"../scheduler/async\");function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};i.get||i.set?Object.defineProperty(t,r,i):t[r]=e[r]}return t.default=e,t}function n(e,t){return void 0===t&&(t=r.async),function(r){return r.lift(new s(e,t))}}var s=function(){function e(e,t){this.period=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.period,this.scheduler))},e}(),u=function(t){function r(e,r,i){var n=t.call(this,e)||this;return n.period=r,n.scheduler=i,n.hasValue=!1,n.add(i.schedule(o,r,{subscriber:n,period:r})),n}return e.__extends(r,t),r.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},r.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},r}(t.Subscriber);function o(e){var t=e.subscriber,r=e.period;t.notifyNext(),this.schedule(e,r)}","map":{"mappings":[{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":0}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":13}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":20}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":35}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":43}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":56}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":57}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":64}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":68}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":76}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":87}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":89}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":93}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":95}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":97}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":3,"column":0},"generated":{"line":1,"column":105}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":115}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":117}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":1,"column":125}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":46,"column":0},"generated":{"line":1,"column":142}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":46,"column":0},"generated":{"line":1,"column":144}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":46,"column":0},"generated":{"line":1,"column":152}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":174}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":183}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":185}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":188}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":191}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":194}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":196}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":207}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":214}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":216}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":220}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":222}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":225}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":228}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":234}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":236}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":240}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":244}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":249}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":251}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":254}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":261}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":271}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":286}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":291}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":293}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":296}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":297}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":301}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":303}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":310}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":326}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":333}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":358}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":365}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":390}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":392}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":395}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":398}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":400}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":405}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":407}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":411}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":418}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":433}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":435}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":437}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":440}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":442}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":445}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":447}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":450}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":457}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":459}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":467}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":469}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":46,"column":46},"generated":{"line":1,"column":471}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":46,"column":46},"generated":{"line":1,"column":480}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":46,"column":46},"generated":{"line":1,"column":482}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":46,"column":46},"generated":{"line":1,"column":484}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":51,"column":2},"generated":{"line":1,"column":487}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":47,"column":10},"generated":{"line":1,"column":499}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":47,"column":2},"generated":{"line":1,"column":503}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":48,"column":1},"generated":{"line":1,"column":507}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":48,"column":1},"generated":{"line":1,"column":509}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":48,"column":1},"generated":{"line":1,"column":511}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":51,"column":2},"generated":{"line":1,"column":518}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":51,"column":2},"generated":{"line":1,"column":527}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":51,"column":36},"generated":{"line":1,"column":530}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":51,"column":36},"generated":{"line":1,"column":537}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":52,"column":22},"generated":{"line":1,"column":539}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":52,"column":46},"generated":{"line":1,"column":544}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":52,"column":46},"generated":{"line":1,"column":548}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":52,"column":46},"generated":{"line":1,"column":550}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":52,"column":46},"generated":{"line":1,"column":552}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":52,"column":31},"generated":{"line":1,"column":557}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":52,"column":31},"generated":{"line":1,"column":561}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":52,"column":46},"generated":{"line":1,"column":563}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":53,"column":3},"generated":{"line":1,"column":574}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":53,"column":3},"generated":{"line":1,"column":583}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":53,"column":3},"generated":{"line":1,"column":585}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":53,"column":3},"generated":{"line":1,"column":587}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":55,"column":2},"generated":{"line":1,"column":590}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":55,"column":2},"generated":{"line":1,"column":595}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":55,"column":2},"generated":{"line":1,"column":602}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":56,"column":4},"generated":{"line":1,"column":604}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":56,"column":4},"generated":{"line":1,"column":609}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":56,"column":18},"generated":{"line":1,"column":619}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":65,"column":38},"generated":{"line":1,"column":621}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":0},"generated":{"line":1,"column":628}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":0},"generated":{"line":1,"column":630}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":640}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":645}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":654}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":656}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":659}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":666}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":668}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":678}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":682}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":684}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":686}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":691}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":698}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":58,"column":1},"generated":{"line":1,"column":703}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":65,"column":38},"generated":{"line":1,"column":716}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":52,"column":46},"generated":{"line":1,"column":718}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":72,"column":4},"generated":{"line":1,"column":721}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":72,"column":10},"generated":{"line":1,"column":723}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":72,"column":22},"generated":{"line":1,"column":732}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":71,"column":22},"generated":{"line":1,"column":735}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":71,"column":22},"generated":{"line":1,"column":744}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":71,"column":22},"generated":{"line":1,"column":746}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":71,"column":46},"generated":{"line":1,"column":748}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":71,"column":46},"generated":{"line":1,"column":750}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":67,"column":2},"generated":{"line":1,"column":753}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":67,"column":2},"generated":{"line":1,"column":757}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":67,"column":2},"generated":{"line":1,"column":759}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":67,"column":22},"generated":{"line":1,"column":761}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":67,"column":28},"generated":{"line":1,"column":766}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":67,"column":28},"generated":{"line":1,"column":771}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":67,"column":28},"generated":{"line":1,"column":775}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":77,"column":9},"generated":{"line":1,"column":780}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":73,"column":4},"generated":{"line":1,"column":787}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":73,"column":9},"generated":{"line":1,"column":789}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":73,"column":13},"generated":{"line":1,"column":796}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":798}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":800}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":810}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":74,"column":3},"generated":{"line":1,"column":812}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":74,"column":3},"generated":{"line":1,"column":814}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":74,"column":3},"generated":{"line":1,"column":824}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":76,"column":12},"generated":{"line":1,"column":826}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":76,"column":12},"generated":{"line":1,"column":828}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":76,"column":12},"generated":{"line":1,"column":832}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":76,"column":12},"generated":{"line":1,"column":834}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":76,"column":12},"generated":{"line":1,"column":843}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":76,"column":26},"generated":{"line":1,"column":845}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":76,"column":26},"generated":{"line":1,"column":847}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":76,"column":26},"generated":{"line":1,"column":848}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":76,"column":26},"generated":{"line":1,"column":859}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":76,"column":26},"generated":{"line":1,"column":861}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":76,"column":26},"generated":{"line":1,"column":868}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":77,"column":9},"generated":{"line":1,"column":873}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":90,"column":8},"generated":{"line":1,"column":875}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":1,"column":882}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":70,"column":22},"generated":{"line":1,"column":884}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":70,"column":28},"generated":{"line":1,"column":894}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":70,"column":36},"generated":{"line":1,"column":896}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":79,"column":2},"generated":{"line":1,"column":899}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":79,"column":3},"generated":{"line":1,"column":901}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":79,"column":3},"generated":{"line":1,"column":911}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":79,"column":3},"generated":{"line":1,"column":917}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":79,"column":3},"generated":{"line":1,"column":926}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":1,"column":929}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":1,"column":934}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":81,"column":2},"generated":{"line":1,"column":944}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":82,"column":8},"generated":{"line":1,"column":946}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":82,"column":8},"generated":{"line":1,"column":951}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":82,"column":13},"generated":{"line":1,"column":961}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":84,"column":11},"generated":{"line":1,"column":964}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":84,"column":11},"generated":{"line":1,"column":966}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":84,"column":28},"generated":{"line":1,"column":976}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":84,"column":42},"generated":{"line":1,"column":987}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":998}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":85,"column":5},"generated":{"line":1,"column":1003}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":86,"column":3},"generated":{"line":1,"column":1014}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":86,"column":3},"generated":{"line":1,"column":1019}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":86,"column":3},"generated":{"line":1,"column":1029}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":87,"column":0},"generated":{"line":1,"column":1031}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":87,"column":0},"generated":{"line":1,"column":1036}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":87,"column":0},"generated":{"line":1,"column":1048}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":87,"column":1},"generated":{"line":1,"column":1053}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":87,"column":1},"generated":{"line":1,"column":1058}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":90,"column":8},"generated":{"line":1,"column":1071}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":72,"column":10},"generated":{"line":1,"column":1073}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":72,"column":10},"generated":{"line":1,"column":1074}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":72,"column":10},"generated":{"line":1,"column":1076}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":92,"column":7},"generated":{"line":1,"column":1088}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":92,"column":7},"generated":{"line":1,"column":1097}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":92,"column":23},"generated":{"line":1,"column":1099}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1102}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1106}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1108}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1110}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1121}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1123}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1125}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1132}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1134}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1147}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1152}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1161}},{"source":"../../../src/internal/operators/sampleTime.ts","name":null,"original":{"line":93,"column":1},"generated":{"line":1,"column":1163}}],"sources":{"../../../src/internal/operators/sampleTime.ts":"import { Observable } from '../Observable';\nimport { Operator } from '../Operator';\nimport { Subscriber } from '../Subscriber';\nimport { async } from '../scheduler/async';\nimport { MonoTypeOperatorFunction, SchedulerAction, SchedulerLike, TeardownLogic } from '../types';\n\n/**\n * Emits the most recently emitted value from the source Observable within\n * periodic time intervals.\n *\n * <span class=\"informal\">Samples the source Observable at periodic time\n * intervals, emitting what it samples.</span>\n *\n * ![](sampleTime.png)\n *\n * `sampleTime` periodically looks at the source Observable and emits whichever\n * value it has most recently emitted since the previous sampling, unless the\n * source has not emitted anything since the previous sampling. The sampling\n * happens periodically in time every `period` milliseconds (or the time unit\n * defined by the optional `scheduler` argument). The sampling starts as soon as\n * the output Observable is subscribed.\n *\n * ## Example\n * Every second, emit the most recent click at most once\n * ```javascript\n * const clicks = fromEvent(document, 'click');\n * const result = clicks.pipe(sampleTime(1000));\n * result.subscribe(x => console.log(x));\n * ```\n *\n * @see {@link auditTime}\n * @see {@link debounceTime}\n * @see {@link delay}\n * @see {@link sample}\n * @see {@link throttleTime}\n *\n * @param {number} period The sampling period expressed in milliseconds or the\n * time unit determined internally by the optional `scheduler`.\n * @param {SchedulerLike} [scheduler=async] The {@link SchedulerLike} to use for\n * managing the timers that handle the sampling.\n * @return {Observable<T>} An Observable that emits the results of sampling the\n * values emitted by the source Observable at the specified time interval.\n * @method sampleTime\n * @owner Observable\n */\nexport function sampleTime<T>(period: number, scheduler: SchedulerLike = async): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => source.lift(new SampleTimeOperator(period, scheduler));\n}\n\nclass SampleTimeOperator<T> implements Operator<T, T> {\n constructor(private period: number,\n private scheduler: SchedulerLike) {\n }\n\n call(subscriber: Subscriber<T>, source: any): TeardownLogic {\n return source.subscribe(new SampleTimeSubscriber(subscriber, this.period, this.scheduler));\n }\n}\n\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nclass SampleTimeSubscriber<T> extends Subscriber<T> {\n lastValue: T;\n hasValue: boolean = false;\n\n constructor(destination: Subscriber<T>,\n private period: number,\n private scheduler: SchedulerLike) {\n super(destination);\n this.add(scheduler.schedule(dispatchNotification, period, { subscriber: this, period }));\n }\n\n protected _next(value: T) {\n this.lastValue = value;\n this.hasValue = true;\n }\n\n notifyNext() {\n if (this.hasValue) {\n this.hasValue = false;\n this.destination.next(this.lastValue);\n }\n }\n}\n\nfunction dispatchNotification<T>(this: SchedulerAction<any>, state: any) {\n let { subscriber, period } = state;\n subscriber.notifyNext();\n this.schedule(state, period);\n}\n"},"lineCount":null}},"hash":"6771b4df7eb5cab3bf2eac9241038d5b","cacheData":{"env":{}}} |