PHP 8.1.0 Beta 1 available for testing

The EvEmbed class

(PECL ev >= 0.2.0)

Introduction

Used to embed one event loop into another.

Class synopsis

EvEmbed extends EvWatcher {
/* Properties */
public $embed;
/* Methods */
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
/* Inherited methods */
public EvWatcher::clear(): int
abstract public EvWatcher::__construct()
public EvWatcher::feed( int $revents ): void
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
}

Properties

is_active

data

is_pending

priority

embed

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top