This commit is contained in:
tanner0101 2020-03-03 23:02:10 -05:00
parent 5466f519cf
commit ea34f32685
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ Methods prefixed with `new`, like `newPromise` have been changed to `make` to be
```diff
- let promise = eventLoop.newPromise(String.self)
- let promise = eventLoop.makePromise(of: String.self)
+ let promise = eventLoop.makePromise(of: String.self)
```
`catchMap` is no longer available, but NIO's methods like `mapError` and `flatMapErrorThrowing` will work instead.