universal_pathlib icon indicating copy to clipboard operation
universal_pathlib copied to clipboard

Async support

Open danielgafni opened this issue 1 year ago • 2 comments

It would be great to have async support like aiopath has. Currently one needs to fallback to filesystem-specific libraries to write async code (as some of them support asynchronous=True).

danielgafni avatar Jun 28 '23 11:06 danielgafni

Interesting! Yes that definitely sounds like a good addition.

I will checkout aiopath and think about how to best provide async methods for UPath.

It would be valuable to know if there are any issues with aiopath's design or if a similar implementation would provide everything that's needed.

ap-- avatar Jul 06 '23 17:07 ap--

I'm a huge fan of anyio for solving these issues (across aio and trio). v4 should be out shortly

drernie avatar Jul 12 '23 00:07 drernie