Contents

readToEndOfFileCompletion

An identifier for a message about a file handle having reached the end of a file or communication channel.

Declaration

static var readToEndOfFileCompletion: NotificationCenter.BaseMessageIdentifier<FileHandle.ReadToEndOfFileCompletionMessage> { get }

Discussion

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

See Also

Identifying file handle messages