Tumortisch-Dist/resources/app/node_modules/rxjs/operator/subscribeOn.js.map
2021-06-15 16:00:08 +02:00

1 line
1.1 KiB
Plaintext

{"version":3,"file":"subscribeOn.js","sourceRoot":"","sources":["../../src/operator/subscribeOn.ts"],"names":[],"mappings":";AAGA,4BAA2C,0BAA0B,CAAC,CAAA;AAEtE;;;;;;;;;;GAUG;AACH,qBAAoD,SAAqB,EAAE,KAAiB;IAAjB,qBAAiB,GAAjB,SAAiB;IAC1F,MAAM,CAAC,yBAAW,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,IAAI,CAAkB,CAAC;AAC9D,CAAC;AAFe,mBAAW,cAE1B,CAAA","sourcesContent":["\nimport { IScheduler } from '../Scheduler';\nimport { Observable } from '../Observable';\nimport { subscribeOn as higherOrder } from '../operators/subscribeOn';\n\n/**\n * Asynchronously subscribes Observers to this Observable on the specified IScheduler.\n *\n * <img src=\"./img/subscribeOn.png\" width=\"100%\">\n *\n * @param {Scheduler} scheduler - The IScheduler to perform subscription actions on.\n * @return {Observable<T>} The source Observable modified so that its subscriptions happen on the specified IScheduler.\n .\n * @method subscribeOn\n * @owner Observable\n */\nexport function subscribeOn<T>(this: Observable<T>, scheduler: IScheduler, delay: number = 0): Observable<T> {\n return higherOrder(scheduler, delay)(this) as Observable<T>;\n}\n"]}