# La clase EvEmbed

(PECL ev >= 0.2.0)

## Introducción

Utilizado para integrar un bucle de eventos en otro.

## Sinopsis de la Clase

class EvEmbed extends EvWatcher {
/* Propiedades */
public $embed;
/* Métodos */
public function __construct(
object `$other` ,
callable `$callback` = ?,
mixed `$data` = ?,
int `$priority` = ?
)
final public static function createStopped(
object `$other` ,
callable `$callback` = ?,
mixed `$data` = ?,
int `$priority` = ?
): void
public function set( object `$other` ): void
public function sweep(): void
/* Métodos heredados */
public function EvWatcher::clear(): int
public function EvWatcher::feed( int `$revents` ): void
public function EvWatcher::getLoop(): EvLoop
public function EvWatcher::invoke( int `$revents` ): void
public function EvWatcher::keepalive( bool `$value` = ?): bool
public function EvWatcher::setCallback( callable `$callback` ): void
public function EvWatcher::start(): void
public function EvWatcher::stop(): void
}

## Propiedades

is_active
data
is_pending
priority
embed

## Tabla de contenidos

- EvEmbed::__construct — Construye un objeto EvEmbed
- EvEmbed::createStopped — Crea un objeto EvEmbed watcher detenido
- EvEmbed::set — Configura el watcher
- EvEmbed::sweep — Barre, una sola vez y de forma no bloqueante, el bucle interno

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open