<@U5R5FGVH7> Yes, start a new Thread that runs the...
# announcements
k
@napperley Yes, start a new Thread that runs the loop. Thread in Slack Conversation Use a
SyncronizedQueue<Event>
for the events, and just call
poll()
on it in the while loop, it will automatically wait until there are events and call
put(event)
when there's a new even, it will automatically resume the main loop.