Skip to main content

Module program_status

Module program_status 

Source
Expand description

Program Status Protocol (OSC 7501) reports from daemon output.

A daemon can tell its supervisor what it is doing by writing ESC ] 7501 ; state=working:progress=40:msg=<base64> ESC \ (or ending in BEL). Only the root record is tracked: a report that names an id belongs to a child record and is ignored.

Spec: https://www.superlogical.com/rex/docs/build/program-status

Structs§

OscScanner
Finds reports in a byte stream, however it is split into reads.
ProgramStatus
The last root-record status a daemon reported.

Enums§

ProgramState
StatusUpdate
What a report does to the root record.