Skip to content

Tags: reactphp-parallel/limited-pool

Tags

2.1.0

Toggle 2.1.0's commit message
2.1.0

=====

- Total issues resolved: **0**
- Total pull requests resolved: **1**
- Total contributors: **1**

Dependencies 📦
--------------

 - [59: [2.x] Drop PHP 8.1](#59) thanks to @WyriHaximus

2.0.0

Toggle 2.0.0's commit message
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�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 🐞
-----

 - [50: Pass NULL into deferred resolve call](#50) thanks to @WyriHaximus

Dependencies 📦,Feature 🏗
------------------------

 - [56: [2.x] Improve template types](#56) thanks to @WyriHaximus

Dependencies 📦,Enhancement ✨
----------------------------

 - [54: Down bump to PHP 8.1](#54) thanks to @WyriHaximus

Dependencies 📦
--------------

 - [51: Bump composer/composer from 2.6.6 to 2.7.0](#51) thanks to @dependabot[bot]
 - [47: PHP 8.2 plus](#47) thanks to @WyriHaximus
 - [45: Update dependency react/event-loop to v1.4.0 - autoclosed](#45) thanks to @renovate[bot]
 - [35: Bump composer/composer from 1.10.21 to 1.10.22](#35) thanks to @dependabot[bot]

Enhancement ✨
-------------

 - [58: [2.x] Ensure all examples are working as expected are run everything in a fiber - Part II - The quest for the missing readme update](#58) thanks to @WyriHaximus
 - [57: [2.x] Ensure all examples are working as expected are run everything …](#57) thanks to @WyriHaximus

1.0.2

Toggle 1.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #34 from reactphp-parallel/drop-unused-ticking-pro…

…mise-dependency

Drop unused Ticking Promise dependency

1.0.1

Toggle 1.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #10 from reactphp-parallel/dependabot/composer/wyr…

…ihaximus/ticking-promise-2.1.0

Bump wyrihaximus/ticking-promise from 1.6.3 to 2.1.0

1.0.0

Toggle 1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #5 from reactphp-parallel/add-documentation

Add Documentation