From 2c99d57cb7d7de6ddaa9c6372c9f0b4ea1cf1f2b Mon Sep 17 00:00:00 2001 From: Simon Frings Date: Wed, 25 Aug 2021 13:48:04 +0200 Subject: [PATCH] Update example to new eventloop API --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e42dd3..41d57ab 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Dave 1995-01-01 3.1.1.1 Once [installed](#install), you can use the following code to read a TSV stream from `STDIN`: ```php -$stdin = new React\Stream\ReadableResourceStream(STDIN, $loop); +$stdin = new React\Stream\ReadableResourceStream(STDIN); $stream = new Clue\React\Tsv\Decoder($stdin); $stream->on('data', function ($data) {