Closed helje5 closed 6 years ago
The way to open files seems to be:
NIO.FileHandle.init(path:)
which is a blocking operation. That seems no good.
A non-blocking way to open a file. Maybe this belongs into NonBlockingFileIO.
NonBlockingFileIO
The HEAD when I pressed "Submit".
Yup, we should extend the NonBlockingFileIO struct to add support for this.
Resolved by #256.
Expected behavior
The way to open files seems to be:
NIO.FileHandle.init(path:)
which is a blocking operation. That seems no good.
Actual behavior
A non-blocking way to open a file. Maybe this belongs into
NonBlockingFileIO
.SwiftNIO version/commit hash
The HEAD when I pressed "Submit".