Skip to content

Commit

Permalink
cleanup spec
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Jun 3, 2019
1 parent f58b388 commit b3bdf41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/bpe.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@
-type events() :: #messageEvent{} | #boundaryEvent{} | #timeoutEvent{}.
-type procId() :: [] | integer() | {atom(),any()}.

-record(process, { id = [] :: [] | integer() | {atom(),any()}, % procId
-record(process, { id = [] :: procId(),
container=feed :: [] | atom(),
feed_id=[] :: [] | atom() | term(),
prev=[] :: [] | integer(),
next=[] :: [] | integer(),
name=[] :: [] | binary() | string() | atom(),
feeds=[] :: list(),
roles = [] :: list(),
tasks = [] :: list(#task{} | #serviceTask{} | #userTask{} | #receiveTask{} | #beginEvent{} | #endEvent{}), % tasks
events = [] :: list(#messageEvent{} | #boundaryEvent{} | #timeoutEvent{}), % events
tasks = [] :: list(tasks()),
events = [] :: list(events()),
hist = [] :: [] | term(),
flows = [] :: list(#sequenceFlow{}),
rules = [] :: [] | term(),
Expand Down

0 comments on commit b3bdf41

Please sign in to comment.