EvEmbed::sweep
(PECL ev >= 0.2.0)
EvEmbed::sweep — Make a single, non-blocking sweep over the embedded loop
說明
public
EvEmbed::sweep(): void
Make a single, non-blocking sweep over the embedded loop. Works similarly to the following, but in the most appropriate way for embedded loops:
<?php
$other->start(Ev::RUN_NOWAIT);
?>
參數
此函式沒有參數。
返回值
沒有返回值。
參見
- EvWatcher::start() - Starts the watcher