Remove console.log

This commit is contained in:
Ingvar Stepanyan
2021-07-23 20:05:26 +00:00
parent a37aa2853b
commit dfcb610df1

View File

@@ -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()))
);
console.log('Event!');
let hasPendingEvent = await this.connection.schedule(context =>
context.hasPendingEvent()
);
if (hasPendingEvent) {
break;
}
}
}
}