bluesky.plan_stubs.caching_repeater

bluesky.plan_stubs.caching_repeater(n, plan)[source]

Generate n chained copies of the messages in a plan.

This is different from repeater above because it takes in a generator or iterator, not a function that returns one.

Parameters
nint or None

total number of repetitions; if None, infinite

planiterable
Yields
msgMsg