StateStorage

korolev.state.StateStorage
See theStateStorage companion object
abstract class StateStorage[F[_], S]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def create(deviceId: DeviceId, sessionId: SessionId, topLevelState: S): F[StateManager[F]]

Create new state manager

Create new state manager

Attributes

def exists(deviceId: DeviceId, sessionId: SessionId): F[Boolean]

Check if state manager for the session is exist

Check if state manager for the session is exist

Attributes

def get(deviceId: DeviceId, sessionId: SessionId): F[StateManager[F]]

Restore session manager from storage

Restore session manager from storage

Attributes

def remove(deviceId: DeviceId, sessionId: SessionId): Unit

Marks session to remove

Marks session to remove

Attributes