context menu, editing connection

This commit is contained in:
Jan Prochazka
2020-01-04 15:09:03 +01:00
parent b6599803b7
commit 4c52e1eb27
12 changed files with 439 additions and 15 deletions

13
web/src/utility/common.js Normal file
View File

@@ -0,0 +1,13 @@
export class LoadingToken {
constructor() {
this.isCanceled = false;
}
cancel() {
this.isCanceled = true;
}
}
export function sleep(milliseconds) {
return new Promise(resolve => window.setTimeout(() => resolve(null), milliseconds));
}