clear

abstract suspend fun clear(key: PersistentStorageKey): Result<Unit>

Clears data for the given key.

Return

Result.success if cleared, Result.failure with exception otherwise

Parameters

key

The storage key to clear