bluesky.run_engine.Dispatcher¶
-
class
bluesky.run_engine.
Dispatcher
[source]¶ Dispatch documents to user-defined consumers on the main thread.
Methods
__init__
()Initialize self.
process
(name, doc)Dispatch document
doc
of typename
to the callback registry.subscribe
(func[, name])Register a callback function to consume documents.
unsubscribe
(token)Unregister a callback function using its integer ID.
Unregister all callbacks from the dispatcher
Attributes
ignore_exceptions