public class Event<T>
A class that implements event pattern that enables signalling of an event occurs.
Alias for a closure that takes the event data payload type and do something with it
public typealias EventHandler = (T) -> ()
Raise an signal to the list of handlers added to this event.
public func raise(data: T)
payload to send to the handlers via this signal