mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
remove deprecated methods (#892)
Motivation: There were some deprecated methods left on EventLoop. Modifications: remove them Result: - fixes #779
This commit is contained in:
1 parent
357b931bda
commit
ccd386b7db
1 file changed
-14
@@ -532,20 +532,6 @@ extension EventLoop {
|
||||
}
|
||||
}
|
||||
|
||||
// to be removed before 2.0
|
||||
extension EventLoop {
|
||||
@available(*, deprecated, renamed: "makeFailedFuture(_:)")
|
||||
public func makeFailedFuture<T>(error: Error) -> EventLoopFuture<T> {
|
||||
return self.makeFailedFuture(error)
|
||||
}
|
||||
|
||||
@available(*, deprecated, renamed: "makeSucceededFuture(_:)")
|
||||
public func makeSucceededFuture<Success>(result: Success) -> EventLoopFuture<Success> {
|
||||
return self.makeSucceededFuture(result)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// Internal representation of a `Registration` to an `Selector`.
|
||||
///
|
||||
/// Whenever a `Selectable` is registered to a `Selector` a `Registration` is created internally that is also provided within the
|
||||
|
||||
Reference in new issue
Block a user