Package-level declarations
Types
Link copied to clipboard
The two members of androidx.datastore.core.DataStore, which publishes no wasmJs variant. nonWebMain's asStore() wraps a real DataStore; wasmJsMain's LocalStorageStore keeps base64 proto bytes in localStorage. The transform is not suspending, so no suspension point can fall between a read and its write.
Functions
Link copied to clipboard
Adapts a real DataStore<T> (android/jvm/iOS only — androidx.datastore:datastore has no wasmJs variant) to the platform-neutral Store. Every CoreDatastoreAndroidBindings/desktop platform call site that used to hand a DataStore<T> straight to an asCoreXDataStore() wrapper now inserts this adapter first: protoStore(...).asStore().asCoreXDataStore().