StateStorage

abstract class StateStorage[F[_], S]
Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

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

Create new state manager

Create new state manager

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

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

Restore session manager from storage

Restore session manager from storage

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

Marks session to remove

Marks session to remove