bluesky.preprocessors.fly_during_decorator

bluesky.preprocessors.fly_during_decorator(plan, flyers)

Kickoff and collect “flyer” (asynchronously collect) objects 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

flyerscollection

objects that support the flyer interface

Yields
msgMsg

messages from plan with ‘kickoff’, ‘wait’ and ‘collect’ messages inserted