Error handling
With promise v3 uncaught rejected promises will no longer bubble up. As a result the running con instance will now emit
errors when they occur and those must be handled.
$cron = Cron::create(...$actions);
$cron->on('error', static function (Throwable $throwable): void {
// Handle error
});
5.0.0
- Total issues resolved: 0
- Total pull requests resolved: 10
- Total contributors: 3
Dependencies 📦
- 82: Bump async test utils to v8 thanks to @WyriHaximus
- 79: Update dependency react/promise to v3 thanks to @renovate[bot]
- 76: Bump composer/composer from 2.5.5 to 2.7.2 thanks to @dependabot[bot]
- 75: Bump react/promise from 2.9.0 to 2.10.0 thanks to @dependabot[bot]
- 74: Bump wyrihaximus/async-test-utilities from 5.0.25 to 7.0.0 thanks to @dependabot[bot]
- 72: Bump guzzlehttp/psr7 from 2.4.3 to 2.5.0 thanks to @dependabot[bot]
- 71: Bump thecodingmachine/safe from 2.4.0 to 2.5.0 thanks to @dependabot[bot]