2017 © Pedro Peláez
 

library parallel-functions

Parallel processing made simple.

image

amphp/parallel-functions

Parallel processing made simple.

  • Wednesday, May 16, 2018
  • by kelunik
  • Repository
  • 9 Watchers
  • 105 Stars
  • 11,416 Installations
  • PHP
  • 8 Dependents
  • 2 Suggesters
  • 7 Forks
  • 3 Open issues
  • 4 Versions
  • 48 % Grown

The README.md

parallel-functions

Build Status License, (*1)

Installation

This package can be installed as a Composer dependency., (*2)

composer require amphp/parallel-functions

Requirements

  • PHP 7.4+

Documentation

Documentation can be found on amphp.org as well as in the ./docs directory., (*3)

Example

<?php

use function Amp\ParallelFunctions\parallelMap;
use function Amp\Promise\wait;

$responses = wait(parallelMap([
    'https://google.com/',
    'https://github.com/',
    'https://stackoverflow.com/',
], function ($url) {
    return file_get_contents($url);
}));

Further examples can be found in the ./examples directory., (*4)

Versioning

amphp/parallel-functions follows the semver semantic versioning specification like all other amphp packages., (*5)

Security

If you discover any security related issues, please email me@kelunik.com instead of using the issue tracker., (*6)

License

The MIT License (MIT). Please see LICENSE for more information., (*7)

The Versions

16/05 2018
16/12 2017
14/12 2017