LemonCore.ChatStateStore (lemon_core v0.1.0)

View Source

Typed wrapper for chat-state persistence.

Summary

Functions

delete(scope)

@spec delete(term()) :: :ok | {:error, term()}

get(scope)

@spec get(term()) :: LemonCore.ChatState.t() | map() | nil

put(scope, state)

@spec put(term(), LemonCore.ChatState.t() | map()) :: :ok | {:error, term()}