Skip to content

Client.iter_bytes

async def Client.iter_bytes(
asset: Asset,
) -> AsyncIterator[bytes]

Stream an asset as provider-dependent byte chunks.

asset Asset

The asset to resolve and stream.

Byte chunks whose sizes are selected by the storage provider.