ComponentLifecycle

extension ComponentLifecycle
  • Starts the provided LifecycleItem array. Startup is performed in the order of items provided.

    Declaration

    Swift

    public func start(on eventLoop: EventLoop) -> EventLoopFuture<Void>

    Parameters

    eventLoop

    The eventLoop which is used to generate the EventLoopFuture that is returned. After the start the future is fulfilled: