blosc2.ProxySource.aget_chunk#

async ProxySource.aget_chunk(nchunk: int) bytes#

Return the compressed chunk in self asynchronously.

Parameters:

nchunk (int) – The index of the chunk to retrieve.

Returns:

out – The compressed chunk.

Return type:

bytes object

Notes

This method is optional and only available if the source has an async aget_chunk method.