bluesky.plan_stubs.repeater#
- bluesky.plan_stubs.repeater(n: int | None, gen_func: Callable[[...], Generator[Msg, Any, P]], *args, **kwargs) Generator[Msg, Any, None] [source]#
Generate n chained copies of the messages from gen_func
- Parameters:
- nint or None
total number of repetitions; if None, infinite
- gen_funccallable
returns generator instance
- ``*args``
args for gen_func
- ``**kwargs``
kwargs for gen_func
- Yields:
- msgMsg