Enumeration
QueuesEventLoopPreference
Determines which event loop the jobs worker uses while executing jobs.
enum QueuesEventLoopPreference
Topics
Enumeration Cases
case delegate(on: any EventLoop)The caller accepts connections on any event loop, but must be called back (delegated to) on the supplied EventLoop. If possible, the connection should also be on this EventLoop for improved performance.case indifferentThe caller accepts connections and callbacks on any EventLoop.
Instance Methods
func delegate(for: any EventLoopGroup) -> any EventLoopReturns the delegate EventLoop given an EventLoopGroup.