Skip to main content

Module task_store

Module task_store 

Source
Expand description

Task persistence trait and in-memory implementation.

TaskStore abstracts task persistence so that the server framework can be backed by any storage engine. InMemoryTaskStore provides a simple HashMap-based implementation suitable for testing and single-process deployments.

Structs§

InMemoryTaskStore
In-memory TaskStore backed by a BTreeMap under a RwLock.
TaskStoreConfig
Configuration for InMemoryTaskStore.

Traits§

TaskStore
Trait for persisting and retrieving Task objects.