提交 75c48336 编写于 作者: J Joao Moreno

remove console logs

上级 1a25345c
......@@ -451,17 +451,13 @@ export class Model {
@debounce(1000)
private onWorkspaceChange(): void {
console.log('workspace changes!!!');
this.updateWhenIdleAndWait();
}
@decorate(throttle)
private async updateWhenIdleAndWait(): Promise<void> {
console.log('checking for idleness...');
await this.whenIdle();
console.log('idle now, lets do it');
await this.update();
console.log('update done, lets wait 7 seconds');
await new Promise(c => setTimeout(c, 7000));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册