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
+11
@@ -0,0 +1,11 @@
|
||||
import { operate } from '../util/lift';
|
||||
import { mergeInternals } from './mergeInternals';
|
||||
export function mergeScan(accumulator, seed, concurrent = Infinity) {
|
||||
return operate((source, subscriber) => {
|
||||
let state = seed;
|
||||
return mergeInternals(source, subscriber, (value, index) => accumulator(state, value, index), concurrent, (value) => {
|
||||
state = value;
|
||||
}, false, undefined, () => (state = null));
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=mergeScan.js.map
|
||||
Reference in new issue
Block a user