Calls each registered callback and swallows exceptions thrown in callbacks.
Registers callback and returns Registration
.
Registers callback and returns Registration
.
Registration operations don't preserve callbacks order.
Returns current number of registered callbacks.
Helper class for callbacks handling. The callbacks are executed in order of registration. Each callback is executed once, it swallows exceptions thrown in callbacks.