WriteScope

interface WriteScope<T> : ReadScope<T> (source)

The scope used for a write transaction.

Functions

Link copied to clipboard
abstract fun close()

Closes the specified resource.

Link copied to clipboard
abstract suspend fun readData(): T

Read the data from the underlying storage.

Link copied to clipboard
abstract suspend fun writeData(value: T)

Writes the data to the underlying storage.