Input
final class Input (View source)
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
Methods
void
add(string $target, mixed $value)
Shall set input for the given target
void
remove(string $target)
Shall remove input for the given target
void
clear()
Shall remove input for all targets
Details
void
add(string $target, mixed $value)
Shall set input for the given target
void
remove(string $target)
Shall remove input for the given target
void
clear()
Shall remove input for all targets