The parallel\Events\Input class

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.

注意:

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

クラス概要

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