1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-03 18:17:52 +01:00
parallel/test/Context/ParallelTest.php
Aaron Piotrowski f2e5224856
Unite Process and Parallel context interfaces
Allows scripts to be written for either context.
2019-02-17 23:50:41 -06:00

18 lines
308 B
PHP

<?php
namespace Amp\Parallel\Test\Context;
use Amp\Parallel\Context\Context;
use Amp\Parallel\Context\Parallel;
/**
* @requires extension parallel
*/
class ParallelTest extends AbstractContextTest
{
public function createContext($script): Context
{
return new Parallel($script);
}
}