Home Community Blog Buy Now

Misty Community Forum

Are Misty events handled in separate threads?

I was getting pretty confused because my main thread would be running at the same time as code for events, so I decided to print out the current thread name while an event is being handled and I realized it’s different than that of the main thread. In certain situations, I want to main code to pause while events are being handled (hazards); is this possible? Am I misunderstanding something along the way.