We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b30918 commit 1036075Copy full SHA for 1036075
Sources/AsyncHTTPClient/HTTPClient.swift
@@ -356,7 +356,9 @@ public class HTTPClient {
356
/// Event Loop will be selected by the library.
357
public static let indifferent = EventLoopPreference(preference: .indifferent)
358
/// Library will try to use provided event loop if possible.
359
- public static func prefers(_ eventLoop: EventLoop) -> EventLoopPreference { EventLoopPreference(preference: .prefers(eventLoop)) }
+ public static func prefers(_ eventLoop: EventLoop) -> EventLoopPreference {
360
+ return EventLoopPreference(preference: .prefers(eventLoop))
361
+ }
362
}
363
364
/// Timeout configuration
0 commit comments