Contents

readCompletion

An identifier for a message about a file handle having read the currently available data from a file or communication channel.

Declaration

static var readCompletion: NotificationCenter.BaseMessageIdentifier<FileHandle.ReadCompletionMessage> { get }

Discussion

Use this identifier with NotificationCenter’s addObserver(of:for:using:) or messages(of:for:bufferSize:) methods to observe messages of type FileHandle.ReadCompletionMessage.

See Also

Identifying file handle messages