Files
swift-nio/Tests
George Barnett 9201908b54 Allow promises to be completed with a Result<Value, Error> (#1124)
Motivation:

When dealing with `Result` types and promises it is inconvenient having to
switch over the result in order to succeed or fail a promise.

Modifications:

- Allow promises to be completed with a `Result<Value, Error>` directly.
- Added tests.

Result:

Promises are easier to fulfill with `Result` types.
2019-09-10 09:25:08 +01:00
..