library react-line-stream
Line-by-line stream reading for React PHP
tsufeki/react-line-stream
Line-by-line stream reading for React PHP
- Thursday, July 12, 2018
- by tsufeki
- Repository
- 2 Watchers
- 2 Stars
- 402 Installations
- PHP
- 2 Dependents
- 0 Suggesters
- 1 Forks
- 1 Open issues
- 5 Versions
- 31 % Grown
React Line Stream
Line-by-line stream reading for React PHP., (*1)
It's line
event gets fired only with single full line of text (EOL included)., (*2)
Example
$loop = React\EventLoop\Factory::create();
$file = new React\Stream\Stream(fopen('foo.txt', 'r'), $loop);
$lineStream = new ReactLineStream\LineStream($file);
$lineStream->on('line', function ($line) {
echo 'line: ' . $line;
});
$loop->run();
dev-dependabot/composer/react/stream-tw-1.0
dev-dependabot/composer/react/stream-tw-1.0
Line-by-line stream reading for React PHP
Sources
Download
MIT
The Requires
by
tsufeki
dev-master
9999999-dev
Line-by-line stream reading for React PHP
Sources
Download
MIT
The Requires
by
tsufeki
0.2.0
0.2.0.0
Line-by-line stream reading for React PHP
Sources
Download
MIT
The Requires
by
tsufeki
0.1.1
0.1.1.0
Line-by-line stream reading for React PHP
Sources
Download
MIT
The Requires
by
tsufeki
0.1.0
0.1.0.0
Line-by-line stream reading for React PHP
Sources
Download
MIT
The Requires
by
tsufeki