Skip to content

Commit 531e001

Browse files
committed
Update README.md
1 parent 677d0f8 commit 531e001

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@ Components are:
3232
* Events: An event is made up of a type, date, id, and data
3333
* Event Stream: A time ordered stream of events
3434
* Input Processes: programs that provide event streams into PHP-EC. These can be PHP scripts, NodeJS, Bash script etc.
35-
* Rules: Rules define a group of events to be processed within a defined time period. Rules can call actions when the Rule is matched or if the defined time period is exceeded (timeout)
3635
* Actions: Programs that perform tasks when requested. This may be writing to a database, sending an email etc.
3736

37+
* Rules: Rules define a set of events to be processed within a defined time period. Once a Rule is matched or a defined timeout period is exceeded the rule can:
38+
* run Actions (for example send email, write to database)
39+
* emit Events (emit a new or modified event for another Rule to handle \[chaining rules\])
40+
* run an additional input process (load more data into the system)
41+
3842
### Cron Like Rules
3943
PHP-EC supports rules that can call actions based on Cron time expressions, system start and system shutdown.
4044

0 commit comments

Comments
 (0)