blosc2.Proxy.afetch#

async Proxy.afetch(item=None)#

Get the container used as cache with the requested data updated in an asynchronous way.

Parameters:

item (slice or list of slices, optional) – If not None, only the chunks that intersect with the slices in items will be retrieved if they have not been already.

Returns:

out – The local container used to cache the already requested data.

Return type:

NDArray or SChunk

Notes

This method is only available if the ProxySource has an async aget_chunk method.