diff --git a/Sources/NIOCore/FileHandle.swift b/Sources/NIOCore/FileHandle.swift index 62fd100e28..6c7dc08125 100644 --- a/Sources/NIOCore/FileHandle.swift +++ b/Sources/NIOCore/FileHandle.swift @@ -373,7 +373,6 @@ extension NIOFileHandle { use NIOFileSystem as a replacement API. """ ) - @available(*, noasync, message: "This method may block the calling thread") public convenience init( path: String, mode: Mode = .read, @@ -415,7 +414,6 @@ extension NIOFileHandle { use NIOFileSystem as a replacement API. """ ) - @available(*, noasync, message: "This method may block the calling thread") public convenience init(path: String) throws { try self.init(_deprecatedPath: path) }