Files
WrenchBoardIonic2023/.angular/cache/14.2.0/babel-webpack/6302a4ff0c0ccc6e42a107f071b2f324.json
T
CHIEFSOFT\ameye cea49e295a first commit
2023-05-12 22:30:08 -04:00

1 line
5.3 KiB
JSON

{"ast":null,"code":"import { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nexport function observeOn(scheduler, delay = 0) {\n return function observeOnOperatorFunction(source) {\n return source.lift(new ObserveOnOperator(scheduler, delay));\n };\n}\nexport class ObserveOnOperator {\n constructor(scheduler, delay = 0) {\n this.scheduler = scheduler;\n this.delay = delay;\n }\n\n call(subscriber, source) {\n return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));\n }\n\n}\nexport class ObserveOnSubscriber extends Subscriber {\n constructor(destination, scheduler, delay = 0) {\n super(destination);\n this.scheduler = scheduler;\n this.delay = delay;\n }\n\n static dispatch(arg) {\n const {\n notification,\n destination\n } = arg;\n notification.observe(destination);\n this.unsubscribe();\n }\n\n scheduleMessage(notification) {\n const destination = this.destination;\n destination.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination)));\n }\n\n _next(value) {\n this.scheduleMessage(Notification.createNext(value));\n }\n\n _error(err) {\n this.scheduleMessage(Notification.createError(err));\n this.unsubscribe();\n }\n\n _complete() {\n this.scheduleMessage(Notification.createComplete());\n this.unsubscribe();\n }\n\n}\nexport class ObserveOnMessage {\n constructor(notification, destination) {\n this.notification = notification;\n this.destination = destination;\n }\n\n}","map":{"version":3,"names":["Subscriber","Notification","observeOn","scheduler","delay","observeOnOperatorFunction","source","lift","ObserveOnOperator","constructor","call","subscriber","subscribe","ObserveOnSubscriber","destination","dispatch","arg","notification","observe","unsubscribe","scheduleMessage","add","schedule","ObserveOnMessage","_next","value","createNext","_error","err","createError","_complete","createComplete"],"sources":["D:/MobileDev/WRB/WrenchBoard2023a/node_modules/rxjs/_esm2015/internal/operators/observeOn.js"],"sourcesContent":["import { Subscriber } from '../Subscriber';\nimport { Notification } from '../Notification';\nexport function observeOn(scheduler, delay = 0) {\n return function observeOnOperatorFunction(source) {\n return source.lift(new ObserveOnOperator(scheduler, delay));\n };\n}\nexport class ObserveOnOperator {\n constructor(scheduler, delay = 0) {\n this.scheduler = scheduler;\n this.delay = delay;\n }\n call(subscriber, source) {\n return source.subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));\n }\n}\nexport class ObserveOnSubscriber extends Subscriber {\n constructor(destination, scheduler, delay = 0) {\n super(destination);\n this.scheduler = scheduler;\n this.delay = delay;\n }\n static dispatch(arg) {\n const { notification, destination } = arg;\n notification.observe(destination);\n this.unsubscribe();\n }\n scheduleMessage(notification) {\n const destination = this.destination;\n destination.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination)));\n }\n _next(value) {\n this.scheduleMessage(Notification.createNext(value));\n }\n _error(err) {\n this.scheduleMessage(Notification.createError(err));\n this.unsubscribe();\n }\n _complete() {\n this.scheduleMessage(Notification.createComplete());\n this.unsubscribe();\n }\n}\nexport class ObserveOnMessage {\n constructor(notification, destination) {\n this.notification = notification;\n this.destination = destination;\n }\n}\n"],"mappings":"AAAA,SAASA,UAAT,QAA2B,eAA3B;AACA,SAASC,YAAT,QAA6B,iBAA7B;AACA,OAAO,SAASC,SAAT,CAAmBC,SAAnB,EAA8BC,KAAK,GAAG,CAAtC,EAAyC;EAC5C,OAAO,SAASC,yBAAT,CAAmCC,MAAnC,EAA2C;IAC9C,OAAOA,MAAM,CAACC,IAAP,CAAY,IAAIC,iBAAJ,CAAsBL,SAAtB,EAAiCC,KAAjC,CAAZ,CAAP;EACH,CAFD;AAGH;AACD,OAAO,MAAMI,iBAAN,CAAwB;EAC3BC,WAAW,CAACN,SAAD,EAAYC,KAAK,GAAG,CAApB,EAAuB;IAC9B,KAAKD,SAAL,GAAiBA,SAAjB;IACA,KAAKC,KAAL,GAAaA,KAAb;EACH;;EACDM,IAAI,CAACC,UAAD,EAA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