We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c17724e commit f5ced35Copy full SHA for f5ced35
1 file changed
Stream.php
@@ -27,7 +27,7 @@ public function __construct($stream, LoopInterface $loop)
27
});
28
29
$this->buffer->on('drain', function () {
30
- $this->emit('drain');
+ $this->emit('drain', array($this));
31
32
33
$this->resume();
0 commit comments