StorageCache

oxygen.ui.web.service.LocalStorage.StorageCache
final class StorageCache[A](storageKey: StorageKey[A], cache: Ref[Option[A]])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def find: UIO[Option[A]]
def get: IO[InternalDefect, A]
def remove: UIO[Unit]
def set(value: A): UIO[Unit]
def setOption(value: Option[A]): UIO[Unit]

Concrete fields

val key: String