Files
swift-nio/Sources
Adam FowlerandCory Benfield 95a4eaa0bc Add async version of NIOThreadPool.runIfActive (#2566)
* Add async version of NIOThreadPool.runIfActive

* Changes from comments in PR

Remove no longer supported code
Add tests for errors being thrown, and the thread pool not being active

* Collapse async runIfActive into one function

* remove whitespace

* Make T Sendable

---------

Co-authored-by: Cory Benfield <lukasa@apple.com>
2023-10-25 08:56:00 -07:00
..