The EvEmbed class

(PECL ev >= 0.2.0)

Introduction

Used to embed one event loop into another.

Class synopsis

classEvEmbedextendsEvWatcher {
public$embed;
public__construct(
    object$other,
    callable$callback = ?,
    mixed$data = ?,
    int$priority = ?
)
finalpublicstaticcreateStopped(
    object$other,
    callable$callback = ?,
    mixed$data = ?,
    int$priority = ?
): void
publicset(object$other): void
publicsweep(): void
publicEvWatcher::feed(int$revents): void
publicEvWatcher::invoke(int$revents): void
publicEvWatcher::keepalive(bool$value = ?): bool
}

Properties

is_active

data

is_pending

priority

embed

Table of Contents

To Top