class blacs.plugins.Callback(func, priority=10)[source]

Bases: object

Class wrapping a callable. At present only differs from a regular function in that it has a “priority” attribute - lower numbers means higher priority. If there are multiple callbacks triggered by the same event, they will be returned in order of priority by get_callbacks

__init__(func, priority=10)[source]


__init__(func[, priority])