Behaviours: gen_event.
event() = handle_init_start | handle_worker_creation | handle_worker_death
add_callback_module/2 | Adds a callback module. |
notify/3 | Sends a notification to all registered callback modules. |
remove_callback_module/2 | Removes a callback module. |
add_callback_module(EventManager::wpool:name(), Module::module()) -> ok | {error, any()}
Adds a callback module.
notify(Event::event(), X2::#{event_manager := any(), term() => term()}, Args::[any()]) -> ok
Sends a notification to all registered callback modules.
remove_callback_module(EventManager::wpool:name(), Module::module()) -> ok | {error, any()}
Removes a callback module.
Generated by EDoc