Skip to main content

Module engine

Module engine 

Source
Expand description

Download orchestration.

The engine is a sequence of decisions, each of which can refuse to proceed: probe → destination → resume validation → reconcile → plan → transfer → barrier → verify. It owns no rendering and no argument parsing; it takes a DownloadRequest and publishes Events.

Structs§

DownloadReport
DownloadRequest

Functions§

download
grace_period
Wait for cancellation, then give workers a bounded grace period. Used by the CLI so Ctrl+C cannot hang the process (PRD §26).