An event bus implementation in erlang