mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: remove outdated progress api
This commit is contained in:
1 parent
9e3f650afc
commit
a9c4d17528
3 files changed
+3
-30
No files matched your search
@@ -2,30 +2,6 @@
|
||||
import { Logger } from './logger';
|
||||
import * as bus from './service/bus';
|
||||
|
||||
export namespace Progress {
|
||||
export class Progress {
|
||||
constructor(public args) {
|
||||
console.log('progress start: ', args);
|
||||
}
|
||||
|
||||
startItem(args) {
|
||||
console.log('progress: ', this.args, args);
|
||||
}
|
||||
|
||||
itemDone(args) {
|
||||
console.log('done: ', this.args, args);
|
||||
}
|
||||
|
||||
stop() {
|
||||
console.log('stop', this.args);
|
||||
}
|
||||
}
|
||||
|
||||
export function create(args) {
|
||||
return new Progress(args);
|
||||
}
|
||||
}
|
||||
|
||||
async function terminate() {
|
||||
let hasError = false;
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user