Php/docs/class.parallel-events-input

提供:Dev Guides
< Php
2020年12月14日 (月) 10:54時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

(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.

注意:

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

クラス概要


final parallel\Events\Input {

public add ( string $target , mixed $value ) : void

public remove ( string $target ) : void

public clear ( ) : void

}

目次