Icicle\Concurrent\Worker\Internal\TaskRunner::__construct PHP Method

__construct() public method

public __construct ( Icicle\Concurrent\Sync\Channel $channel, Icicle\Concurrent\Worker\Environment $environment )
$channel Icicle\Concurrent\Sync\Channel
$environment Icicle\Concurrent\Worker\Environment
    public function __construct(Channel $channel, Environment $environment)
    {
        $this->channel = $channel;
        $this->environment = $environment;
    }