tinker_cookbook.stores.AsyncStorage
class tinker_cookbook.stores.AsyncStorage(Protocol)
Async byte-level file I/O.
Cloud backends (S3, GCS) implement this natively. LocalStorage
wraps sync methods with asyncio.to_thread.
aread(path)
awrite(path, data)
aappend(path, data)
aexists(path)
astat(path)
aread_range(path, offset, length)
Async version of Storage.read_range.
Parameters:
Returns: bytes