Sha256: c80536aa5ae2242fd79cab7b34598a7734ce25eda718ee4f4ffc5456b33b45a6

Contents?: true

Size: 1.23 KB

Versions: 49

Compression:

Stored size: 1.23 KB

Contents

{"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../src/operators/timestamp.ts"],"names":[],"mappings":";AAEA,sBAAsB,oBAAoB,CAAC,CAAA;AAE3C,oBAAoB,OAAO,CAAC,CAAA;AAE5B;;;;;GAKG;AACH,mBAA6B,SAA6B;IAA7B,yBAA6B,GAA7B,yBAA6B;IACxD,MAAM,CAAC,SAAG,CAAC,UAAC,KAAQ,IAAK,OAAA,IAAI,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,GAAG,EAAE,CAAC,EAArC,CAAqC,CAAC,CAAC;IAChE,mFAAmF;AACrF,CAAC;AAHe,iBAAS,YAGxB,CAAA;AAED;IACE,mBAAmB,KAAQ,EAAS,SAAiB;QAAlC,UAAK,GAAL,KAAK,CAAG;QAAS,cAAS,GAAT,SAAS,CAAQ;IACrD,CAAC;IACH,gBAAC;AAAD,CAAC,AAHD,IAGC;AAHY,iBAAS,YAGrB,CAAA;AAAA,CAAC","sourcesContent":["\nimport { IScheduler } from '../Scheduler';\nimport { async } from '../scheduler/async';\nimport { OperatorFunction } from '../interfaces';\nimport { map } from './map';\n\n/**\n * @param scheduler\n * @return {Observable<Timestamp<any>>|WebSocketSubject<T>|Observable<T>}\n * @method timestamp\n * @owner Observable\n */\nexport function timestamp<T>(scheduler: IScheduler = async): OperatorFunction<T, Timestamp<T>> {\n  return map((value: T) => new Timestamp(value, scheduler.now()));\n  // return (source: Observable<T>) => source.lift(new TimestampOperator(scheduler));\n}\n\nexport class Timestamp<T> {\n  constructor(public value: T, public timestamp: number) {\n  }\n};\n"]}

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
ilog-0.4.1 node_modules/rxjs/operators/timestamp.js.map
ilog-0.4.0 node_modules/rxjs/operators/timestamp.js.map
ilog-0.3.3 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-18.0.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.21.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.20.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.19.1 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.19.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.18.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.17.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.16.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.15.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.14.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.13.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.12.2 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.12.1 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.12.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.11.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.10.0 node_modules/rxjs/operators/timestamp.js.map
govuk_publishing_components-17.9.0 node_modules/rxjs/operators/timestamp.js.map