Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mbonneau committed Nov 5, 2015
1 parent 5bd8682 commit f23b806
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ get a reference to the event loop, it will automatically be started at the end o
\EventLoop\addTimer(5, function () {
echo "Hello after 5 seconds\n";
});

// just get a reference for use in other places
$loop = \EventLoop\getLoop();
```
## Installation
```composer require voryx/event-loop```

0 comments on commit f23b806

Please sign in to comment.