INTRO
The BPMN 1.0 bpe_event module provides generic event handling functionality.
EVENTS
The list of supported events.

CALLBACK API
The EVENT API allows you to bind on messageEvent.
action({event,atom(), atom()}, #process{}) -> {reply, Task, State} | {reply, State}.
Example:
action({event, Name, Payload}, Proc) -> {replay, Proc}.
This module may refer to: BPE