Kargi-Sitesi/.angular/cache/18.2.11/babel-webpack/0ac9e547e485059fc6a964ae99b27867cea8ec481f1fa6cdb408bc28c2bf5393.json

1 line
1.5 KiB
JSON
Raw Normal View History

2024-11-04 02:30:09 +00:00
{"ast":null,"code":"import { hostReportError } from './hostReportError';\nexport const subscribeToPromise = promise => subscriber => {\n promise.then(value => {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, err => subscriber.error(err)).then(null, hostReportError);\n return subscriber;\n};","map":{"version":3,"names":["hostReportError","subscribeToPromise","promise","subscriber","then","value","closed","next","complete","err","error"],"sources":["/home/arctichawk1/Desktop/Projects/Public/Kargi-Sitesi/node_modules/rxjs/_esm2015/internal/util/subscribeToPromise.js"],"sourcesContent":["import { hostReportError } from './hostReportError';\nexport const subscribeToPromise = (promise) => (subscriber) => {\n promise.then((value) => {\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, (err) => subscriber.error(err))\n .then(null, hostReportError);\n return subscriber;\n};\n"],"mappings":"AAAA,SAASA,eAAe,QAAQ,mBAAmB;AACnD,OAAO,MAAMC,kBAAkB,GAAIC,OAAO,IAAMC,UAAU,IAAK;EAC3DD,OAAO,CAACE,IAAI,CAAEC,KAAK,IAAK;IACpB,IAAI,CAACF,UAAU,CAACG,MAAM,EAAE;MACpBH,UAAU,CAACI,IAAI,CAACF,KAAK,CAAC;MACtBF,UAAU,CAACK,QAAQ,CAAC,CAAC;IACzB;EACJ,CAAC,EAAGC,GAAG,IAAKN,UAAU,CAACO,KAAK,CAACD,GAAG,CAAC,CAAC,CAC7BL,IAAI,CAAC,IAAI,EAAEJ,eAAe,CAAC;EAChC,OAAOG,UAAU;AACrB,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}