在线文档教程
PHP
处理控制 | Process Control

EvWatcher::feed

EvWatcher::feed

(PECL ev >= 0.2.0)

EvWatcher::feed — Feeds the given revents set into the event loop

Description

public void EvWatcher::feed ( int $revents )

Feeds the given revents set into the event loop, as if the specified event had happened for the watcher.

Parameters

revents

Bit mask of watcher received events .

Return Values

No value is returned.

← EvWatcher::__construct

EvWatcher::getLoop →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/evwatcher.feed.php