# The EvEmbed class

(PECL ev >= 0.2.0)

## Introducción

Used to embed one event loop into another.

## Sinopsis de la Clase

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

## Propiedades

is_active

data

is_pending

priority

embed

## Tabla de contenidos

- EvEmbed::__construct — Constructs the EvEmbed object
- EvEmbed::createStopped — Create stopped EvEmbed watcher object
- EvEmbed::set — Configures the watcher
- EvEmbed::sweep — Realizar un único barrido sin bloqueos sobre el bucle embebido