EventLoopIterator

public struct EventLoopIterator : Sequence, IteratorProtocol

An iterator over the EventLoops forming an EventLoopGroup.

Usually returned by an EventLoopGroup‘s makeIterator() method.

let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
group.makeIterator().forEach { loop in
    // Do something with each loop
}