mirror of
https://github.com/apple/swift-nio
synced 2026-11-28 05:14:23 +00:00
### Motivation: We want to avoid going through `EventLoopGroup`'s [`String(describing: self)`](https://github.com/apple/swift-nio/blob/8307ad610a358513b2190955379829d70f04b8c2/Sources/NIOCore/EventLoop.swift#L414) when obtaining the description of an `EventLoopGroup` or `EventLoop`. The concrete `MultiThreadedEventLoopGroup` and `SelectableEventLoop` already implement a `description` property. `EmbeddedEventLoop` does not. ### Modifications: Added a concrete description property in `EmbeddedEventLoop`. ### Result: The description of `EmbeddedEventLoop` can be obtained without going through `String(describing: self)`.