File tree 2 files changed +0
-11
lines changed
2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -394,12 +394,6 @@ public class HTTPClient {
394
394
/// Event Loop will be selected by the library.
395
395
public static let indifferent = EventLoopPreference ( . indifferent)
396
396
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
-
403
397
/// The delegate will be run on the specified EventLoop (and the Channel if possible).
404
398
///
405
399
/// 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 {
438
438
/// Response execution context. Will be created by the library and could be used for obtaining
439
439
/// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
440
440
public final class Task < Response> {
441
- @available ( * , deprecated, renamed: " eventLoop " )
442
- public var currentEventLoop : EventLoop {
443
- return self . eventLoop
444
- }
445
-
446
441
/// The `EventLoop` the delegate will be executed on.
447
442
public let eventLoop : EventLoop
448
443
You can’t perform that action at this time.
0 commit comments