Refactor the apstools.plans.run_blocking_function() plan to create a subclass or ophyd.Signal with an added trigger() method. In an inner function of that method, it runs the blocking function and then sets the status object to done. The plan calls the inner method with yield from bps.trigger(subclass_object).
Refactor the
apstools.plans.run_blocking_function()
plan to create a subclass orophyd.Signal
with an addedtrigger()
method. In an inner function of that method, it runs the blocking function and then sets the status object to done. The plan calls the inner method withyield from bps.trigger(subclass_object)
.