Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
modify example
Browse files Browse the repository at this point in the history
  • Loading branch information
nmred committed Jun 19, 2017
1 parent d8b7066 commit 3abd117
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ $producer->success(function($result) {
$producer->error(function($errorCode, $context) {
var_dump($errorCode);
});
$producer->send();
$producer->send(true);
```

### Synchronous mode
Expand Down
2 changes: 1 addition & 1 deletion README_CH.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $producer->success(function($result) {
$producer->error(function($errorCode, $context) {
var_dump($errorCode);
});
$producer->send();
$producer->send(true);
```

### 同步方式调用生产者
Expand Down
2 changes: 1 addition & 1 deletion example/Producer.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
$producer->error(function($errorCode) {
var_dump($errorCode);
});
$producer->send();
$producer->send(true);

0 comments on commit 3abd117

Please sign in to comment.