File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -394,12 +394,6 @@ public class HTTPClient {
394394 /// Event Loop will be selected by the library.
395395 public static let indifferent = EventLoopPreference ( . indifferent)
396396
397- /// Library will try to use provided event loop if possible.
398- @available ( * , deprecated, renamed: " delegate(on:) " )
399- public static func prefers( _ eventLoop: EventLoop ) -> EventLoopPreference {
400- return EventLoopPreference ( . delegate( on: eventLoop) )
401- }
402-
403397 /// The delegate will be run on the specified EventLoop (and the Channel if possible).
404398 ///
405399 /// This will call the configured delegate on `eventLoop` and will try to use a `Channel` on the same
Original file line number Diff line number Diff line change @@ -438,11 +438,6 @@ extension HTTPClient {
438438 /// Response execution context. Will be created by the library and could be used for obtaining
439439 /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
440440 public final class Task < Response> {
441- @available ( * , deprecated, renamed: " eventLoop " )
442- public var currentEventLoop : EventLoop {
443- return self . eventLoop
444- }
445-
446441 /// The `EventLoop` the delegate will be executed on.
447442 public let eventLoop : EventLoop
448443
You can’t perform that action at this time.
0 commit comments