bluesky.preprocessors.suspend_decorator¶
-
bluesky.preprocessors.
suspend_decorator
(plan, suspenders)¶ Install suspenders to the RunEngine, and remove them at the end.
- Parameters
- planiterable or iterator
a generator, list, or similar containing Msg objects
- suspenderssuspender or list of suspenders
Suspenders to use for the duration of the wrapper
- Yields
- msgMsg
messages from plan, with ‘install_suspender’ and ‘remove_suspender’ messages inserted and appended