Releases: reactphp-parallel/limited-pool
Releases ยท reactphp-parallel/limited-pool
2.1.0
2.1.0
- Total issues resolved: 0
- Total pull requests resolved: 1
- Total contributors: 1
Dependencies ๐ฆ
- 59: [2.x] Drop PHP 8.1 thanks to @WyriHaximus
2.0.0
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 ๐
- 56: [2.x] Improve template types thanks to @WyriHaximus
Dependencies ๐ฆ,Enhancement โจ
- 54: Down bump to PHP 8.1 thanks to @WyriHaximus
Dependencies ๐ฆ
- 51: Bump composer/composer from 2.6.6 to 2.7.0 thanks to @dependabot[bot]
- 47: PHP 8.2 plus thanks to @WyriHaximus
- 45: Update dependency react/event-loop to v1.4.0 - autoclosed thanks to @renovate[bot]
- 35: Bump composer/composer from 1.10.21 to 1.10.22 thanks to @dependabot[bot]
Enhancement โจ
1.0.2
1.0.2
- Total issues resolved: 0
- Total pull requests resolved: 19
- Total contributors: 2
Dependencies ๐ฆ,JSON ๐จโ๐ผ,PHP ๐
Dependencies ๐ฆ,PHP ๐
- 32: Bump wyrihaximus/async-test-utilities from 3.4.22 to 3.4.24 thanks to @dependabot[bot]
- 30: Bump wyrihaximus/async-test-utilities from 3.4.21 to 3.4.22 thanks to @dependabot[bot]
- 29: Bump wyrihaximus/async-test-utilities from 3.4.20 to 3.4.21 thanks to @dependabot[bot]
- 28: Bump wyrihaximus/async-test-utilities from 3.4.13 to 3.4.20 thanks to @dependabot[bot]
- 25: Bump wyrihaximus/async-test-utilities from 3.4.13 to 3.4.17 thanks to @dependabot[bot]
- 24: Bump wyrihaximus/async-test-utilities from 3.4.13 to 3.4.16 thanks to @dependabot[bot]
- 23: Bump wyrihaximus/async-test-utilities from 3.4.13 to 3.4.15 thanks to @dependabot[bot]
- 22: Bump wyrihaximus/async-test-utilities from 3.4.12 to 3.4.13 thanks to @dependabot[bot]
- 21: Bump wyrihaximus/async-test-utilities from 3.4.11 to 3.4.12 thanks to @dependabot[bot]
- 20: Bump wyrihaximus/async-test-utilities from 3.4.10 to 3.4.11 thanks to @dependabot[bot]
- 19: Bump wyrihaximus/async-test-utilities from 3.4.6 to 3.4.10 thanks to @dependabot[bot]
- 18: Bump wyrihaximus/async-test-utilities from 3.4.6 to 3.4.9 thanks to @dependabot[bot]
- 17: Bump wyrihaximus/async-test-utilities from 3.4.6 to 3.4.8 thanks to @dependabot[bot]
- 16: Bump wyrihaximus/async-test-utilities from 3.4.6 to 3.4.7 thanks to @dependabot[bot]
- 15: Bump wyrihaximus/async-test-utilities from 3.4.5 to 3.4.6 thanks to @dependabot[bot]
- 14: Bump wyrihaximus/async-test-utilities from 3.4.2 to 3.4.5 thanks to @dependabot[bot]
- 13: Bump wyrihaximus/async-test-utilities from 3.4.2 to 3.4.4 thanks to @dependabot[bot]
- 12: Bump wyrihaximus/async-test-utilities from 3.4.2 to 3.4.3 thanks to @dependabot[bot]
1.0.1
1.0.1
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 2
Dependencies ๐ฆ,JSON ๐จโ๐ผ,PHP ๐
- 10: Bump wyrihaximus/ticking-promise from 1.6.3 to 2.1.0 thanks to @dependabot[bot]
- 9: Bump test utils and pool tests thanks to @WyriHaximus
Dependencies ๐ฆ,PHP ๐
- 8: Bump react-parallel/infinite-pool from 2.0.0 to 2.1.2 thanks to @dependabot[bot]
- 7: Bump react-parallel/event-loop from 1.0.1 to 1.2.0 thanks to @dependabot[bot]
- 6: Bump react-parallel/event-loop from 1.0.1 to 1.1.0 thanks to @dependabot[bot]
1.0.0
1.0.0
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 2
Documentation ๐,MarkDown ๐,PHP ๐,Source ๐ฎ,Tests ๐งช
- 5: Add Documentation thanks to @WyriHaximus
CI ๐ง,Configuration โ,YAML ๐
- 4: Drop old workflow thanks to @WyriHaximus
Dependencies ๐ฆ,PHP ๐
-
3: Bump react-parallel/event-loop from 1.0.0 to 1.0.1 thanks to @dependabot[bot]
-
2: Github Config thanks to @WyriHaximus
-
1: Bump to runtime v2 thanks to @WyriHaximus