EventType
open class EventType<T> where T : EventProtocolRepresents an EventType that conforms to a certain type of EventProtocol T.
- 
                  
                  The name of the EventType.Remark - This name should be unique.
 DeclarationSwift public let name: String
- 
                  
                  Creates a certain EventType.DeclarationSwift public init(name: String)ParametersnameThe name of the EventType.eventHandlerThe handler of the event, must be of type T. 
