Behaviours: gen_event.
This module defines the wpool_process_callbacks behaviour.
Optional callback functions: handle_init_start/1, handle_worker_creation/1, handle_worker_death/2.
event() = handle_init_start | handle_worker_creation | handle_worker_death
state() = module()
| 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(), EventMgr::undefined | atom(), 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