Add web front-end and fix API issues
This commit is contained in:
1 parent
45ca4de0ad
commit
a7524412f0
2571 files changed
+86998
-5
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
import { switchMap } from './switchMap';
|
||||
import { operate } from '../util/lift';
|
||||
export function switchScan(accumulator, seed) {
|
||||
return operate((source, subscriber) => {
|
||||
let state = seed;
|
||||
switchMap((value, index) => accumulator(state, value, index), (_, innerValue) => ((state = innerValue), innerValue))(source).subscribe(subscriber);
|
||||
return () => {
|
||||
state = null;
|
||||
};
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=switchScan.js.map
|
||||
Reference in new issue
Block a user