wave-ai/frontend/.angular/cache/18.2.21/babel-webpack/0e5a505cd5dfcf97b2a8a1e24de0581063ebba42aba91265a29bcf730c3cf75c.json

1 line
542 B
JSON

{"ast":null,"code":"import { switchMap } from './switchMap';\nimport { operate } from '../util/lift';\nexport function switchScan(accumulator, seed) {\n return operate((source, subscriber) => {\n let state = seed;\n switchMap((value, index) => accumulator(state, value, index), (_, innerValue) => (state = innerValue, innerValue))(source).subscribe(subscriber);\n return () => {\n state = null;\n };\n });\n}\n//# sourceMappingURL=switchScan.js.map","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}