bluesky.preprocessors.monitor_during_decorator#

bluesky.preprocessors.monitor_during_decorator(plan, signals)#

Monitor (asynchronously read) devices during runs.

This is a preprocessor that insert messages immediately after a run is opened and before it is closed.

Parameters:
planiterable or iterator

a generator, list, or similar containing Msg objects

signalscollection

objects that support the Signal interface

Yields:
msgMsg

messages from plan with ‘monitor’, and ‘unmontior’ messages inserted

See also

bluesky.plans.fly_during_wrapper()