Skip to content

Milestones

List view

  • No due date
    1/1 issues closed
  • Fully reworked the public facing API to utilize fibers: From: ```php $loop = Factory::create(); $finite = new Limited( new Infinite($loop, new EventLoopBridge($loop), 1), // Another pool, preferably an inifinite pool 100 // The amount of threads to start and keep running ); $time = time(); $finite->run(function (int $time): int { return $time; }, [$time])->then(function (int $time): void { echo 'Unix timestamp: ', $time, PHP_EOL; })->done(); ``` To: ```php use React\EventLoop\Loop; use ReactParallel\EventLoop\EventLoopBridge; use ReactParallel\Pool\Infinite\Infinite; use ReactParallel\Pool\Limited\Limited; use function React\Async\async; $limited = new Limited( new Infinite(new EventLoopBridge(), 1), // Another pool, preferably an inifinite pool 100 // The amount of threads to start and keep running ); $time = time(); Loop::futureTick(async(static function () use ($limited, $time) { echo 'Unix timestamp: ', $limited->run(function (int $time): int { return $time; }, [$time]), $time, PHP_EOL; })); ```

    No due date
    11/11 issues closed
  • No due date
    19/19 issues closed
  • No due date
    5/5 issues closed
  • No due date
    5/5 issues closed