The EvEmbed class
(PECL ev >= 0.2.0)
Introduction
Used to embed one event loop into another.
Class synopsis
class EvEmbed
extends
EvWatcher
{
/* Properties */
public
$embed;
/* Methods */
public
function __construct(
object
callable
mixed
int
)
object
$other
,callable
$callback
= ?,mixed
$data
= ?,int
$priority
= ?)
final
public
static
function createStopped(
object
callable
mixed
int
): void
object
$other
,callable
$callback
= ?,mixed
$data
= ?,int
$priority
= ?): void
/* Inherited methods */
}Properties
is_active data is_pending priority embedTable of Contents
- EvEmbed::__construct — Constructs the EvEmbed object
- EvEmbed::createStopped — Create stopped EvEmbed watcher object
- EvEmbed::set — Configures the watcher
- EvEmbed::sweep — Make a single, non-blocking sweep over the embedded loop
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
