PHP Conference Nagoya 2025

The EvEmbed class

(PECL ev >= 0.2.0)

简介

Used to embed one event loop into another.

类摘要

class EvEmbed extends EvWatcher {
/* 属性 */
public $embed;
/* 方法 */
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
/* 继承的方法 */
public EvWatcher::feed( int $revents ): void
public EvWatcher::invoke( int $revents ): void
public EvWatcher::keepalive( bool $value = ?): bool
public EvWatcher::setCallback( callable $callback ): void
}

属性

is_active

data

is_pending

priority

embed

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top