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',
|
||||
config
|
||||
});
|
||||
do {
|
||||
while (true) {
|
||||
await new Promise(resolve => setTimeout(resolve, 100));
|
||||
} while (
|
||||
!(await this.connection.schedule(context => context.hasPendingEvent()))
|
||||
let hasPendingEvent = await this.connection.schedule(context =>
|
||||
context.hasPendingEvent()
|
||||
);
|
||||
console.log('Event!');
|
||||
if (hasPendingEvent) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user