Skip to content
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

Missing async methods. #1415

Open
itsWindows11 opened this issue May 25, 2024 · 0 comments
Open

Missing async methods. #1415

itsWindows11 opened this issue May 25, 2024 · 0 comments

Comments

@itsWindows11
Copy link

itsWindows11 commented May 25, 2024

I have noticed that some methods in SftpClient do not have async equivalents, such as Get, CreateDirectory, DeleteDirectory etc.

A workaround is to use Task.Run but the I/O done can be asynchronous, like ListDirectoryAsync and others. I need it to resolve files-community/Files#2407, instead of resorting to Task.Run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant