NIOFilterEmptyWritesHandler isn't guarded by if #canImport(Network)
#110
Labels
⚠️ semver/major
Breaks existing public API.
if #canImport(Network)
#110
All of the code in NIOTS should be guarded by
if #canImport(Network)
. HoweverNIOFilterEmptyWritesHandler
isn't. Since its intended use is to work around a bug in Network framework, it's only helpful when Network framework is available anyway.We can't add the check now as it would break API, but we should consider adding the missing compilation check for the next major version of NIOTS.
The text was updated successfully, but these errors were encountered: