bluesky.preprocessors.single_gen

bluesky.preprocessors.single_gen(msg)[source]

Turn a single message into a plan

If lambda x: yield x were valid Python, this would be equivalent. In Python 3.6 or 3.7 we might get lambda generators.

Parameters:
msgMsg

a single message

Yields:
msgMsg

the input message