Compare commits

..

No commits in common. "master" and "v1.0" have entirely different histories.
master ... v1.0

2 changed files with 1 additions and 7 deletions

View File

@ -18,12 +18,6 @@ library.
## Okay, how do I use it?
Install it with [composer](https://getcomposer.org/):
```sh
$ composer require toalett/multiprocessing
```
### Structure
The library provides a single class to manage multiprocessing: the [`Context`](src/Context.php). It

View File

@ -11,7 +11,7 @@ abstract class Task
public array $arguments;
protected ?TimerInterface $timer = null;
public function __construct(callable $callable, array $arguments)
public function __construct(callable $callable, ...$arguments)
{
$this->callable = $callable;
$this->arguments = $arguments;