bluesky.plan_stubs.monitor#

bluesky.plan_stubs.monitor(obj: Readable, *, name: str | None = None, **kwargs) Generator[Msg, Any, P][source]#

Asynchronously monitor for new values and emit Event documents.

Parameters:
objDevice or Signal
args

passed through to obj.subscribe()

namestring, optional

name of event stream; default is None

kwargs

passed through to obj.subscribe()

Yields:
msgMsg

Msg('monitor', obj, *args, **kwargs)