StorageEvent

object StorageEvent
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case class Save(key: String, data: String) extends StorageEvent
Save data locally, referenced by a key.
Value Params
data
the data to store.
key
a unique key to store the data against
final case class Load(key: String) extends StorageEvent
Load command. Request data be loaded from local storage.
Value Params
key
the unique key to look the data up with.
final case class Delete(key: String) extends StorageEvent
Delete a data entry from local storage
Value Params
key
the unique key of the data to delete.
case object DeleteAll extends StorageEvent
Clears all local data
final case class Loaded(key: String, data: String) extends StorageEvent
Data load response,
Value Params
data
the data retreived from local storage.
key
the unique key of the data that was loaded.

Inherited types

type MirroredElemLabels <: Tuple
The names of the product elements
Inhertied from
Mirror
type MirroredLabel <: String
The name of the type
Inhertied from
Mirror