MessageDispatcher
Class to dispatch messages to observers. It has a built in buffer to merge messages and dispatch them in a single call to the observers.
:return: description :rtype: type
interval_time_dispatched_buffer: floatinterval_time_merging_message: floatmessage_level: MessageLevelprefix: strInitialize self. See help(type(self)) for accurate signature.
float - 0.1int - 1MessageLevel - INFOstrMessageDispatcherAttach the listener method and return an id to detach it later
MessageObserverAttach a progress bar to update task messages when a message is sent. return an id to detach it later
ProgressBarProgressBarMessageObserverCreate a sub dispatcher with the same configuration as the current dispatcher. The message will be forwarded to the parent dispatcher after prefix and log level modification. This is useful to override the prefix or the log level for a specific part of the code without affecting the parent dispatcher.
OptionalOptionalMessageObserverboolTrigger a debug in each subscriber.
strTrigger a error in each subscriber.
strTrigger an info in each subscriber.
strTrigger a message in each subscriber.
DispatchedMessageTrigger an update in each subscriber.
floatstrTrigger a success in each subscriber.
strTrigger a warning in each subscriber.
str