php8.5
Home/ Manual/ ev / evembed/ EvEmbed::sweep

EvEmbed::sweep

PHP function Edit on GitHub ✎

(PECL ev >= 0.2.0)

Make a single, non-blocking sweep over the embedded loop

Description

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
<?php
$other->start(Ev::RUN_NOWAIT);
?>

Parameters Parameters

Return Values

Void

See Also

  • EvWatcher::start

Source: reference/ev/evembed/sweep.xml · from the official PHP manual (php/doc-en)