bluesky.run_engine.Dispatcher

class bluesky.run_engine.Dispatcher[source]

Dispatch documents to user-defined consumers on the main thread.

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

process(name, doc)

Dispatch document doc of type name to the callback registry.

subscribe(func[, name])

Register a callback function to consume documents.

unsubscribe(token)

Unregister a callback function using its integer ID.

unsubscribe_all()

Unregister all callbacks from the dispatcher

Attributes

ignore_exceptions