Skip to content

4.100.0 - Add Async Lifecycle Handlers

Compare
Choose a tag to compare
@penny-for-vapor penny-for-vapor released this 15 May 11:56
· 3 commits to main since this release
90da64a

What's Changed

Add Async Lifecycle Handlers by @0xTim in #3193

Adds new protocol functions to LifecycleHandlers to support async contexts. This is important because packages like Redis use this to know when to shutdown their connection pool. In the shutdown function, these call .wait() which can cause application crashes if called when trying to use NIO’s event loop concurrency executor.

This provides async alternatives to allow packages to provide full async calls through their stack to avoid these crashes

This patch was released by @0xTim

Full Changelog: 4.99.3...4.100.0