Skip to content

AsyncKit 1.0.0-beta.2.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@calebkleveter calebkleveter released this 31 Jan 14:20
8e9d41f

Features:

  • Adds a futureTry method to EventLoop that takes in a throwing closure and produces a future with the closure's result.
  • Adds a .append(each:_:) method to the EventLoopFutureQueue type, which maps each element of the sequence passed in into a future result and then queues the future.

Fixes:

  • EventLoopFutureQueue is thread safe now.