Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
gen_event_forwarder | ||
=================== | ||
|
||
gen_event_forwarder is a simple gen_event handler that will forward events and infos to a designated process. It is primarily intended to be used for testing purposes. | ||
|
||
Use: | ||
|
||
{ok, EventMgr} = gen_event:start_link(), | ||
gen_event:add_handler(EventMgr, gen_event_forwarder, [self()]), |