Skip to content

Commit

Permalink
Actually remove backpressure
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Mar 30, 2018
1 parent d91f805 commit 2340e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PqUnbufferedResultSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct(callable $fetch, pq\Result $result) {
try {
do {
$result->autoConvert = pq\Result::CONV_SCALAR | pq\Result::CONV_ARRAY;
yield $emit($result);
$emit($result);
$result = yield $fetch();
} while ($result instanceof pq\Result);
} finally {
Expand Down

0 comments on commit 2340e03

Please sign in to comment.