(PECL ev >= 0.2.0)
EvWatcher::clear — Clear watcher pending status
If the watcher is pending, this method clears its
status and returns its
bitset(as if its callback was invoked). If the watcher isn't pending
it does nothing and returns
Sometimes it can be useful to "poll" a watcher instead of waiting for its callback to be invoked, which can be accomplished with this function.
У этой функции нет параметров.
In case if the watcher is pending, returns
bitset as if the
had been invoked. Otherwise returns