register(_:)
Registers a handler that responds to raised action events for a particular action type.
Declaration
static func register(_ creationHandler: @escaping (Self.EventType) -> (any ActionHandlerProtocol)?)Parameters
- creationHandler:
The closure that instantiates the handler.