bluesky.plan_stubs.subscribe¶
-
bluesky.plan_stubs.
subscribe
(name, func)[source]¶ Subscribe the stream of emitted documents.
- Parameters
- name{‘all’, ‘start’, ‘descriptor’, ‘event’, ‘stop’}
- funccallable
Expected signature:
f(name, doc)
wherename
is one of the strings above (‘all, ‘start’, …) anddoc
is a dict
- Yields
- msgMsg
Msg(‘subscribe’, None, func, name)
See also