bluesky.run_engine.Dispatcher

class bluesky.run_engine.Dispatcher[source]

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

__init__()[source]

Methods

__init__()

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