async-kit

1.9.0

Sugary extensions for the SwiftNIO library
vapor/async-kit

What's New

Add `EventLoopFuture.tryFlatMap()` by popular demand

2021-09-28T18:53:35Z
This patch was authored by @vzsg and released by @0xTim.

One of the most common hurdles of working with EventLoopFutures, and a very oft-repeated question on the Discord server is interacting with error-throwing code. The tryFlatMap extension alleviates that by handling any errors thrown by the closure, causing the ELF to fail.

This is the most common error handling pattern anyway.

Description

  • Swift Tools 5.2.0
View More Packages from this Author

Dependencies

Last updated: Wed Oct 20 2021 04:32:17 GMT-0500 (GMT-05:00)