bearcove/rc-zip

Question: ArchiveReader::read() blocks?

Closed this issue · 3 comments

Hi, this is a question and not really an issue. I'm looking at using rc-zip with in an async-await environment. However, ArchiveReader::read() looks to be the only way to feed the reader file data and it will block during the read. Is there an alternate way to feed it data that I may have read using async read directly? Is an async version of read() necessary?

Thanks for clarifying.

Thanks for the response. I have a project that needs the functionality provided by rc-zip so I may fork the repo and work on adding async to it. I'll send a PR when it's ready if you'd like.

Sure, I'd be happy to review changes! Maybe @Geal will be able to help too (he's in the rust-compress org), but I don't know what his availability is like these days. Mine is spotty, so expect delays :)