You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try to fetch a file asynchronously and derive the cid as shown below, you will get an error saying object async_generator can't be used in 'await' expression.
While the above implementation works, it would be very helpful if you could implement a version of cid_sha256_hash_chunked that supports async generators (like the above cid_sha256_hash_async_chunked) in the library, so that we can use it without needing to extend it ourselves. 🙏
The text was updated successfully, but these errors were encountered:
If you try to fetch a file asynchronously and derive the cid as shown below, you will get an error saying object async_generator can't be used in 'await' expression.
I can avoid the above error by implementing it as shown below using cid_sha256_wrap_digest.
While the above implementation works, it would be very helpful if you could implement a version of cid_sha256_hash_chunked that supports async generators (like the above cid_sha256_hash_async_chunked) in the library, so that we can use it without needing to extend it ourselves. 🙏
The text was updated successfully, but these errors were encountered: