bluesky.preprocessors.run_wrapper

bluesky.preprocessors.run_wrapper(plan, *, md=None)[source]

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