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 | |
code_change/3 | |
handle_call/2 | |
handle_event/2 | |
handle_info/2 | |
init/1 | |
notify/3 | |
remove_callback_module/2 | |
terminate/2 |
add_callback_module(EventManager::wpool:name(), Module::module()) -> ok | {error, any()}
init(Module::module()) -> {ok, state()}
notify(Event::event(), Options::[wpool:option()], Args::[any()]) -> ok
remove_callback_module(EventManager::wpool:name(), Module::module()) -> ok | {error, any()}
terminate(Reason::any(), State::state()) -> ok
Generated by EDoc, Oct 25 2018, 07:56:29.