Expand description
Async job execution contract
Host-managed background jobs that plugins can spawn and monitor. The plugin never owns the thread — it requests work from the host, receives progress events, and may cancel jobs it owns.
This preserves Doctrine 4 (trait firewall): plugins cannot spawn raw threads, open arbitrary processes, or block the TUI render loop.
Structs§
- JobCancelled
Data - JobCompleted
Data - JobFailed
Data - JobLog
Line Data - JobOutput
Chunk Data - JobProgress
Data - JobSpawn
Request - What the plugin wants the host to run.
- JobStarted
Data
Enums§
- JobEvent
- Events the host emits about a job’s lifecycle.
- JobStatus
- Lightweight status snapshot for UI lists.
Traits§
- JobHost
- Host-side trait for job orchestration.
Type Aliases§
- JobId
- Opaque job identifier. Plugins treat this as an opaque string.