PHP code example of wyrihaximus / recoil-queue-caller
1. Go to this page and download the library: Download wyrihaximus/recoil-queue-caller library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wyrihaximus / recoil-queue-caller example snippets
$queueCaller = new QueueCaller($recoil);
$observable = observableFromArray(iterator_to_array((function () {
$func = function ($a, $b) {
echo $a + $b;
};
yield new Call($func, 0, 0);
yield new Call($func, 0, 1);
yield new Call($func, 1, 1);
yield new Call($func, 1, 2);
})()));
$queueCaller->call($observable);