-
Asynchronous
LifecycleHandlerbased on anEventLoopFuture.Declaration
Swift
public static func eventLoopFuture(_ future: @escaping () -> EventLoopFuture<Void>) -> LifecycleHandlerParameters
futurefunction returning the underlying
EventLoopFuture -
LifecycleHandlerthat cancels aRepeatedTask.Declaration
Swift
public static func cancelRepeatedTask(_ task: RepeatedTask, on eventLoop: EventLoop) -> LifecycleHandlerParameters
taskRepeatedTaskto be cancelledonEventLoopto use for cancelling the task
View on GitHub
Install in Dash
LifecycleHandler Extension Reference