f3ath/forkrunner
Composer 安装命令:
composer require f3ath/forkrunner
包简介
A simple framework to run code in parallel processes
README 文档
README
A simple library to run a process in multiple processes
Installation
Via composer:
$ composer require "f3ath/forkrunner"
Usage
<?php $func = function ($n) { return $n * $n; }; $runner = new \F3\ForkRunner\ForkRunner(); $args = [[3], [4], [5]]; $result = $runner->run($func, $args); // [9, 16, 25]
统计信息
- 总下载量: 105
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-02-25