The virtual machine whose events to manage
The runner used to process events
If true, starts the event processing automatically
If true, will attempt to start the task runner if not already started (upon starting the event manager)
If true, any event handler that throws an exception will count towards resuming the event set, otherwise it will cause the event set to not resume
Represents an event callback, receiving the event and returning whether or not to resume.
The virtual machine whose events to manage
The virtual machine whose events to manage
Adds the event function to this manager.
Adds the event function to this manager. The return value of the handler function contributes towards whether or not to resume the event set.
The type of the event to add a function
The function to add
Adds the event function to this manager.
Adds the event function to this manager. This event automatically counts towards resuming the event set after completion.
The type of the event to add a function
The function to add
Determines the main executing thread of the specified virtual machine.
Determines the main executing thread of the specified virtual machine.
The virtual machine whose main thread to determine
Some reference to the main thread if it can be determined, otherwise None
Determines the main executing thread of the _virtualMachine instance.
Determines the main executing thread of the _virtualMachine instance.
Some reference to the main thread if it can be determined, otherwise None
Retrieves the collection of event handler functions for the specific event class.
Retrieves the collection of event handler functions for the specific event class.
The type associated with the class
The type of event whose functions to retrieve
The collection of event functions
Indicates whether or not the event manager is processing events.
Indicates whether or not the event manager is processing events.
True if it is running, otherwise false
Removes the event function from this manager.
Removes the event function from this manager.
The class of the event
The event type whose function to remove
The function to remove
Retrieves the convergent source path of the provided reference type.
Retrieves the convergent source path of the provided reference type.
The reference instance whose source path to determine
Some source path as a string if convergent, otherwise None
Begins the processing of events from the virtual machine.
Ends the processing of events from the virtual machine.
Executes the provided block of code during the state of a suspended thread.
Executes the provided block of code during the state of a suspended thread. The thread reference is synchronized to prevent another thread suspending the same thread reference.
The type of result from the block of code
The block of code to execute
The results of attempting to execute the block of code
Executes the provided block of code during the state of a suspended virtual machine.
Executes the provided block of code during the state of a suspended virtual machine. The virtual machine is synchronized to prevent another thread suspending the same virtual machine.
The type of result from the block of code
The block of code to execute
The results of attempting to execute the block of code
Represents a manager for events coming in from a virtual machine.