Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<parallel\Events::pollparallel\Events\Input::add>
^parallelLast updated: Mon, 26 Oct 2026

The parallel\Events\Input class

(0.9.0)

Events Input

An Input object is a container for data that the parallel\Events object will write to parallel\Channel objects as they become available. Multiple event loops may share an Input container - parallel does not verify the contents of the container when it is set as the input for a parallel\Events object.

Note:

When a parallel\Events object performs a write, the target is removed from the input object as if parallel\Events\Input::remove() were called.

Class synopsis

final class parallel\Events\Input {
public function add(string $target, mixed $value): void
public function remove(string $target): void
public function clear(): void
}

Table of Contents


<parallel\Events::pollparallel\Events\Input::add>
^parallelLast updated: Mon, 26 Oct 2026