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', 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;
}
}
} }
} }