Type Aliases
The following type aliases are available globally.
-
Declaration
Swift
public typealias EventClosure = (Data, EventLoop) -> EventLoopFuture<Void>
-
Declaration
Swift
public typealias GlobalEventClosure = (Data, _Hook, EventLoop) -> EventLoopFuture<Void>
-
Declaration
Swift
public typealias EventHandler<D, I> = (D, I) -> EventLoopFuture<Void> where D : EventDispatch
-
Declaration
Swift
public typealias SyncEventHandler<D, I> = (D, I) throws -> Void where D : EventDispatch
-
Declaration
Swift
public typealias Global = GlobalEvent