function Driver::isReferenced
Returns whether the callback identified by the given callback identifier is currently referenced.
Parameters
string $callbackId The callback identifier.:
Return value
bool `true` if the callback is currently referenced, otherwise `false`.
2 methods override Driver::isReferenced()
- AbstractDriver::isReferenced in vendor/
revolt/ event-loop/ src/ EventLoop/ Internal/ AbstractDriver.php - Returns whether the callback identified by the given callback identifier is currently referenced.
- TracingDriver::isReferenced in vendor/
revolt/ event-loop/ src/ EventLoop/ Driver/ TracingDriver.php - Returns whether the callback identified by the given callback identifier is currently referenced.
File
-
vendor/
revolt/ event-loop/ src/ EventLoop/ Driver.php, line 308
Class
- Driver
- The driver MUST run in its own fiber and execute callbacks in a separate fiber. If fibers are reused, the driver needs to call {
Namespace
Revolt\EventLoopCode
public function isReferenced(string $callbackId) : bool;