编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « EvWatcher::setCallback
  • EvWatcher::stop »
  • PHP Manual
  • EvWatcher
  • Starts the watcher

EvWatcher::start

(PECL ev >= 0.2.0)

EvWatcher::start — Starts the watcher

说明

public EvWatcher::start ( void ) : void

Marks the watcher as active. Note that only active watchers will receive events.

参数

此函数没有参数。

返回值

没有返回值。

参见

  • EvWatcher::stop() - Stops the watcher
相关文章
php ev periodic watcher operation modesphp evcheck create instance of a stopped evcheck watcherphp evchild constructs the evchild watcher objectphp evchild create instance of a stopped evcheck watcherphp evchild configures the watcherphp evio configures the watcherphp evloop creates evsignal watcher object associated with the current event loop instancephp evloop creates evstat watcher object associated with the current event loop instancephp evsignal create stopped evsignal watcher objectphp evsignal configures the watcherphp evstat constructs evstat watcher objectphp evstat create a stopped evstat watcher objectphp evwatcher clear watcher pending statusphp evwatcher abstract constructor of a watcher objectphp evwatcher returns the loop responsible for the watcherphp evwatcher invokes the watcher callback with the given received events bit maskphp evwatcher configures whether to keep the loop from returningphp evwatcher sets new callback for the watcherphp evwatcher starts the watcherphp evwatcher stops the watcher
关注编程学问公众号
编程学问网 湘ICP备20001732号