Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kierwils committed Nov 2, 2018
1 parent 88cf448 commit bd02c4e
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
@@ -1,9 +1,12 @@
### Example

Queues:

$queue = new Queue\ArrayQueue;
$queue->push('some message or json string');

Runner:

$interval = 10; // seconds
$handler = function(string $message) {
echo $message.PHP_EOL;
Expand Down

0 comments on commit bd02c4e

Please sign in to comment.