Commit Graph
3 Commits
Author SHA1 Message Date
Adam Fowler f6936ae813 Wrap concurrency code with @available(macOS etc) (#1809) 2021-04-19 12:07:52 +01:00
Johannes Weiss bd61da436a async/await: adopt latest "main" renames (#1802)
Motivation:

On Swift's main branch Task.runDetached has been renamed to detach.

Modifications:

Adopt the new spelling.

Result:

Compiles again on the main nightlies.
2021-04-13 14:50:40 +01:00
Johannes Weiss 75b52ab955 async/await support (#1701)
Motivation:

The async/await proposal has entered the review phase, so we may want to
start looking into NIO with async/await.

Modifications:

- Add `EventLoopFuture.get() throws await`
- Add `ChannelOutboundInvoker` `async` methods

Result:

If async/await were actually implemented, you could use NIO together
with async/wait. So far, you can only compile your projects.
2021-03-31 12:52:04 +01:00