This module differs from gen_event in several significant
ways:
fun/2notify
Event handlers are passed the state, initially given by the cause of the event. Each handler may return:
{ok, NewState} to change the state and continue processing
this event with other handlers;{done, NewState} to change the state and cancel the processing
of the other handlers; or{error, Error} to indicate an error occurred.| Exported Functions | |
|---|---|
| add_handler/4 | |
| add_handlers/2 | |
| new_manager/1 | |
| notify/4 | |
| test/0 | |
add_handler(Arg1, Arg2, Arg3, Arg4) -> term()
add_handlers(Arg1, Arg2) -> term()
new_manager(Arg1) -> term()
notify(Arg1, Arg2, Arg3, Arg4) -> term()
test() -> term()