Remove console.log
This commit is contained in:
11
ui/index.js
11
ui/index.js
@@ -79,12 +79,15 @@ class App extends Component {
|
|||||||
type: 'Config',
|
type: 'Config',
|
||||||
config
|
config
|
||||||
});
|
});
|
||||||
do {
|
while (true) {
|
||||||
await new Promise(resolve => setTimeout(resolve, 100));
|
await new Promise(resolve => setTimeout(resolve, 100));
|
||||||
} while (
|
let hasPendingEvent = await this.connection.schedule(context =>
|
||||||
!(await this.connection.schedule(context => context.hasPendingEvent()))
|
context.hasPendingEvent()
|
||||||
);
|
);
|
||||||
console.log('Event!');
|
if (hasPendingEvent) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user