bluesky.preprocessors.run_decorator#

bluesky.preprocessors.run_decorator(plan, *, md=None)#

Enclose in ‘open_run’ and ‘close_run’ messages.

Parameters:
planiterable or iterator

a generator, list, or similar containing Msg objects

mddict, optional

metadata to be passed into the ‘open_run’ message