remove deprecated methods (#892)

Motivation:

There were some deprecated methods left on EventLoop.

Modifications:

remove them

Result:

- fixes #779
This commit is contained in:
Johannes Weiss authored and GitHub committed 2019-03-13 18:02:26 +00:00
1 parent 357b931bda
commit ccd386b7db
1 file changed
-14
-14
View File
@@ -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