-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NonBlockingFileIO has no async APIs #2565
Comments
We certainly plan to produce a solution in this area. However, in our ideal world this wouldn't be NIO-based at all, as the solution should be more general purpose than that. |
Would you be adverse to me producing a temporary solution that still uses NIOThreadPool but skips the EventLoopPromise and uses a Continuation instead? This is basically the last barrier to removing EventLoops from Soto. |
I'd be happy for you to do that work. |
Just to understand, would that be something like Swift System ? |
Swift System may be a little too low-level for that. |
It appears that the best option for file access is still
NonBlockingFileIO
. Currently to useNonBlockingFileIO
in a Swift concurrency context you are required to use theEventLoop
based API andEventLoopFuture.get
. This is unsatisfactory becauseAre there any plans to produce async
NonBlockingFileIO
APIs?The text was updated successfully, but these errors were encountered: