Skip to content

Commit 28ffecf

Browse files
committed
Add loop::run to usage example
1 parent aaac07a commit 28ffecf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ $client->channel('channel_name')->subscribe(
3434
echo 'Done!', PHP_EOL;
3535
}
3636
);
37+
38+
$loop->run();
3739
```
3840

3941
For more examples see the [examples directory](examples).

0 commit comments

Comments
 (0)