Repository navigation
AsyncKit 1.0.0 Beta 2
Pre-release- Separated
ConnectionPoolinto two components:EventLoopGroupConnectionPoolandEventLoopConnectionPool(#42)
This change greatly reduces code complexity by breaking out the old ConnectionPool's behavior into distinct components. It also increases usability, allowing developers to choose which functionality they want to use.
EventLoopGroupConnectionPool: Maintains one EventLoopConnectionPool per EventLoop on the supplied EventLoopGroup. Use this if you are in a global, thread-safe context. This is great for application's that use wait(), classes that do EL-synchronization internally, or shared pools that want each event loop to have its own collection of pools. This class is thread-safe.
EventLoopConnectionPool: A pool of connections that is tied to a single event loop.
If you have an EventLoopGroupConnectionPool, you can get an individual EventLoop's pool by doing groupPool.pool(for: eventLoop). This class is not thread-safe and must always be used from the associated EventLoop.
-
Custom
Loggers are now passable anywhere logging occurs. -
Enabled test discovery on Linux (#46)