StorageEvent

Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case class Delete(key: String) extends StorageEvent

Delete a data entry from local storage

Delete a data entry from local storage

Value parameters:
key

the unique key of the data to delete.

case object DeleteAll extends StorageEvent

Clears all local data

Clears all local data

final case class Load(key: String) extends StorageEvent

Load command. Request data be loaded from local storage.

Load command. Request data be loaded from local storage.

Value parameters:
key

the unique key to look the data up with.

final case class Loaded(key: String, data: String) extends StorageEvent

Data load response,

Data load response,

Value parameters:
data

the data retreived from local storage.

key

the unique key of the data that was loaded.

final case class Save(key: String, data: String) extends StorageEvent

Save data locally, referenced by a key.

Save data locally, referenced by a key.

Value parameters:
data

the data to store.

key

a unique key to store the data against

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror