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

EvEmbed::sweep

EvEmbed::sweep

(PECL ev >= 0.2.0)

EvEmbed::sweep — Make a single, non-blocking sweep over the embedded loop.

Description

public void 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 ?>

Parameters

This function has no parameters.

Return Values

No value is returned.

See Also

  • EvWatcher::start() - Starts the watcher

← EvEmbed::set

EvFork →

© 1997–2017 The PHP Documentation Group

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

https://secure.php.net/manual/en/evembed.sweep.php