ZMQPoll::remove

(PECL zmq >= 0.5.0)
Remove item from poll set
public boolean ZMQPoll::remove ( mixed $item )

Remove item from the poll set. The item parameter can be ZMQSocket object, a stream resource or the id returned from ZMQPoll::add() method.

Parameters:
item

The ZMQSocket object, PHP stream or string id of the item.

Returns:

Returns true if the item was removed and false if the object with given id does not exist in the poll set.

doc_php
2016-02-24 16:10:36
Comments
Leave a Comment

Please login to continue.