Skip to main content

Module record

Module record 

Source
Expand description

astrs record start/stop (blueprint §14, §17).

  astrs record start <flow> out.arec [--only n/o]* [--overwrite]
      ─► RecordStart{dataflow, path, ports, overwrite} ─► Ok
  astrs record stop <flow>
      ─► RecordStop{dataflow}                          ─► Ok

Both verbs are thin: astrs-coordinator::handlers::misc already does the real work (synthesizing a astrs_wire::NodeSource::Recorder node wired to the requested ports and dynamically spawning it, the same mechanism astrs node add uses). This module’s job is only to turn CLI flags into the wire request and the reply into a line of output.

Structs§

StartArgs
astrs record start arguments, independent of clap.
StopArgs
astrs record stop arguments, independent of clap.

Functions§

start
Starts recording a dataflow.
stop
Stops a dataflow’s in-progress recording.