We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NSUnsupported
NSUnavailable
1 parent dfb1ba5 commit e06fcbeCopy full SHA for e06fcbe
Foundation/FileHandle.swift
@@ -882,7 +882,7 @@ extension FileHandle {
882
@available(Windows, unavailable, message: "A SOCKET cannot be treated as a fd")
883
open func acceptConnectionInBackgroundAndNotify(forModes modes: [RunLoop.Mode]?) {
884
#if os(Windows)
885
- NSUnavailable()
+ NSUnsupported()
886
#else
887
let owner = monitor(forReading: true, resumed: false) { (handle, source) in
888
var notification = Notification(name: .NSFileHandleConnectionAccepted, object: handle, userInfo: [:])
0 commit comments