Event.Process
Skip to content
mnscript
Event.Process() 

Description ​

Processes all pending events

Example ​

msc
using Event;

// To make event listeners happen, you must call Event.Process.
// This tells the program to process all of the events which have happened.

// The most common way to implement this is to put an infinite
// loop at the bottom of a program which constantly processes events.

while(true){
    Event.Process();
}