Class library. RunPScript
source · [−]Expand description
Run a producer as a script. We already have several producers that essentially just invoke system binaries and command. So this is just an easy way to turn them into miniscripts.
Constructors
sourceconstructor
constructor
sourcenew (id: string, producer: Producer): RunPScript
new (id: string, producer: Producer): RunPScript
All elements have an id associated to encourage short unique ids for all elements.
Properties
sourcestate
state
sourcestate: ElementState = ElementState.Inactive
state: ElementState = ElementState.Inactive
Current state of the element.