Icicle\Concurrent\Worker\DefaultPool::kill PHP Method

kill() public method

Kills all workers in the pool and halts the worker pool.
public kill ( )
    public function kill()
    {
        $this->running = false;
        foreach ($this->workers as $worker) {
            $worker->kill();
        }
    }