Перейти к содержанию

Spatium SDK > take

take

suspend fun take(driver: StorageDriver, meta: StorageMeta): StorageData?

Take data stored under provided meta and remove original

This method is typically used in temporary storage strategy and as a means to delete stored entry

Return

stored data (StorageData), or null if not found

  • SeeAlso: StorageDriver/take(meta)

Parameters

androidJvm

driver StorageDriver implementation
meta StorageMeta composite identifier