Sha256: 191956d5977b236fbea611713762d010edb990ba4597ef337d7d317abaa02c7a

Contents?: true

Size: 1.37 KB

Versions: 49

Compression:

Stored size: 1.37 KB

Contents

{"version":3,"file":"repeatWhen.js","sourceRoot":"","sources":["../../src/operator/repeatWhen.ts"],"names":[],"mappings":";AACA,2BAA0C,yBAAyB,CAAC,CAAA;AAEpE;;;;;;;;;;;;;GAaG;AACH,oBAAmD,QAA6D;IAC9G,MAAM,CAAC,uBAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAkB,CAAC;AACtD,CAAC;AAFe,kBAAU,aAEzB,CAAA","sourcesContent":["import { Observable } from '../Observable';\nimport { repeatWhen as higherOrder } from '../operators/repeatWhen';\n\n/**\n * Returns an Observable that mirrors the source Observable with the exception of a `complete`. If the source\n * Observable calls `complete`, this method will emit to the Observable returned from `notifier`. If that Observable\n * calls `complete` or `error`, then this method will call `complete` or `error` on the child subscription. Otherwise\n * this method will resubscribe to the source Observable.\n *\n * <img src=\"./img/repeatWhen.png\" width=\"100%\">\n *\n * @param {function(notifications: Observable): Observable} notifier - Receives an Observable of notifications with\n * which a user can `complete` or `error`, aborting the repetition.\n * @return {Observable} The source Observable modified with repeat logic.\n * @method repeatWhen\n * @owner Observable\n */\nexport function repeatWhen<T>(this: Observable<T>, notifier: (notifications: Observable<any>) => Observable<any>): Observable<T> {\n  return higherOrder(notifier)(this) as Observable<T>;\n}\n"]}

Version data entries

49 entries across 49 versions & 4 rubygems

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