Skip to content

Releases: reactphp-parallel/limited-pool

2.1.0

29 May 21:50
Compare
Choose a tag to compare

2.1.0

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

Dependencies ๐Ÿ“ฆ

2.0.0

10 Feb 19:19
Compare
Choose a tag to compare

Fully reworked the public facing API to utilize fibers:

From:

$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:

use React๏ฟฝventLoop\Loop;
use ReactParallel๏ฟฝventLoop๏ฟฝventLoopBridge;
use ReactParallel\Pool\Infinite\Infinite;
use ReactParallel\Pool\Limited\Limited;
use function React\Async๏ฟฝsync;

$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;
}));

2.0.0

  • Total issues resolved: 0
  • Total pull requests resolved: 9
  • Total contributors: 3

Bug ๐Ÿž

Dependencies ๐Ÿ“ฆ,Feature ๐Ÿ—

Dependencies ๐Ÿ“ฆ,Enhancement โœจ

Dependencies ๐Ÿ“ฆ

Enhancement โœจ

1.0.2

15 Aug 12:16
Compare
Choose a tag to compare

1.0.2

  • Total issues resolved: 0
  • Total pull requests resolved: 19
  • Total contributors: 2

Dependencies ๐Ÿ“ฆ,JSON ๐Ÿ‘จโ€๐Ÿ’ผ,PHP ๐Ÿ˜

Dependencies ๐Ÿ“ฆ,PHP ๐Ÿ˜

1.0.1

10 Jan 10:52
Compare
Choose a tag to compare

1.0.1

  • Total issues resolved: 0
  • Total pull requests resolved: 5
  • Total contributors: 2

Dependencies ๐Ÿ“ฆ,JSON ๐Ÿ‘จโ€๐Ÿ’ผ,PHP ๐Ÿ˜

Dependencies ๐Ÿ“ฆ,PHP ๐Ÿ˜

1.0.0

05 Aug 19:08
Compare
Choose a tag to compare

1.0.0

  • Total issues resolved: 0
  • Total pull requests resolved: 5
  • Total contributors: 2

Documentation ๐Ÿ“š,MarkDown ๐Ÿ“,PHP ๐Ÿ˜,Source ๐Ÿ”ฎ,Tests ๐Ÿงช

CI ๐Ÿšง,Configuration โš™,YAML ๐Ÿ„

Dependencies ๐Ÿ“ฆ,PHP ๐Ÿ˜