First working version of fully automatic uploader

This commit is contained in:
Pieter Vander Vennet 2021-12-13 02:05:34 +01:00
parent 04dc373b1e
commit e922768f99
21 changed files with 342 additions and 106 deletions

View file

@ -289,6 +289,7 @@ export class UIEventSource<T> {
const stack = new Error().stack.split("\n");
const callee = stack[1]
const newSource = new UIEventSource<J>(
f(this.data),
"map(" + this.tag + ")@"+callee
@ -298,7 +299,7 @@ export class UIEventSource<T> {
newSource.setData(f(self.data));
}
this.addCallbackAndRun(update);
this.addCallback(update);
for (const extraSource of extraSources) {
extraSource?.addCallback(update);
}