Module download_state

Module download_state 

Source
Expand description

Download state repository port definition.

This port defines the interface for persisting download queue state. Implementations handle durable storage of queued downloads so they survive application restarts.

§Design

  • Persists queue state and terminal results only
  • Fine-grained progress stays in-memory (high churn, not worth persisting)
  • Intent-based methods, not generic CRUD

Traits§

DownloadStateRepositoryPort
Port for persisting download queue state.