Searched refs:loop (Results 1 – 2 of 2) sorted by relevance
60 $loop = new EventLoop; variable63 $fiber = new Fiber(function () use ($loop, $read): void {67 $loop->read($read, fn() => $fiber->resume());76 $loop->defer(fn() => $fiber->start());79 $loop->defer(fn() => fwrite($write, "Hello, world!"));82 $loop->run();
135 …a fiber to store a reference to itself elsewhere, such as within an event loop callback or an arra…
Completed in 7 milliseconds