bobvanderlinden / sharpfilesystem

A virtual file system for .NET written in C#
MIT License
285 stars 69 forks source link

Async methods #10

Open vector-man opened 8 years ago

vector-man commented 8 years ago

It would be nice if the library supported async/await methods, with cancellation.

bobvanderlinden commented 8 years ago

Yes, I've thought about adding this as well. It would probably need a separate interface (IFileSystemAsync?) that always result in Task<...>. Existing IFileSystem implementations can be wrapped by a IFileSystemAsync implementation.