pcdshub / BEAMS

Beamline Engineering Automation Management Systems
0 stars 0 forks source link

Joshc slac/message handling #5

Closed joshc-slac closed 4 months ago

joshc-slac commented 4 months ago

Still building out bones for this thing. Goal of this PR is to allow for requests to be plumbed all the way to generated trees. This gets us all the way up to but not including tree generation.

Added test coverage for the Worker object as well as new PriorityQueue object.

Updated Sequencer main object to launch threads required for runtime specifically:

I added a PriorityQueue object to helpers as this is the standard way to ensure you sequencer chooses the correct task to begin execution on . In the future we will need to make sure that when it receives a higher priority task than the one currently executing it pauses current execution to field the more critical task. This is enabled in the current architecture.

joshc-slac commented 4 months ago

Add test coverage for SequenceServer and SequenceClient