blosc2.ProxyNDSource.aget_chunk#

async ProxyNDSource.aget_chunk(nchunk: int) bytes#

Return the compressed chunk in self in an asynchronous way.

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.