Download the PHP package wyrihaximus/react-cron without Composer
On this page you can find all versions of the php package wyrihaximus/react-cron. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wyrihaximus/react-cron
More information about wyrihaximus/react-cron
Files in wyrihaximus/react-cron
Package react-cron
Short Description ⏱️ Cronlike scheduler running inside the ReactPHP Event Loop
License MIT
Informations about the package react-cron
Cronlike scheduler running inside a ReactPHP Event Loop
Install
To install via Composer, use the command below, it will automatically detect the latest version and bind it with ^
.
Usage
Schedule actions within the ReactPHP Event Loop
Factory methods
Cron::create($loop, ...$actions)
: Cron with in-memory mutex.Cron::createWithMutex($loop, $mutex, ...$actions)
: Cron with supplied mutex.
Mutex
All mutexes must implement wyrihaximus/react-mutex
to provide
additional implementations beyond the default in memory one. This is meant to do distributed locking of cron jobs.
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.
License
The MIT License (MIT)
Copyright (c) 2023 Cees-Jan Kiewiet
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of react-cron with dependencies
dragonmantank/cron-expression Version ^3.3.3
evenement/evenement Version ^3.0
react/async Version ^4.2
react/event-loop Version ^1.5
react/promise Version ^3.1
thecodingmachine/safe Version ^2.4
wyrihaximus/constants Version ^1.6
wyrihaximus/react-mutex Version ^3.2
wyrihaximus/react-mutex-contracts Version ^2.2