1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 17:52:14 +01:00
parallel/test/Context/Fixtures/throwing-process.php
2020-02-10 12:29:27 -06:00

9 lines
167 B
PHP

<?php
use Amp\Parallel\Sync\Channel;
use Amp\PHPUnit\TestException;
return function (Channel $channel) use ($argv) {
throw new TestException('Test message');
};