Event

public void Event()

The default constructor is defined for cleaner code. This constructor assumes the event is synchronous.


public void Event(boolean isAsync)

This constructor is used to explicitly declare an event as synchronous or asynchronous.

Parameters

isAsync

true indicates the event will fire asynchronously, false by default from default constructor