Searched refs:callback (Results 1 – 9 of 9) sorted by relevance
31 $callback = $this->streamCallbacks[$id];33 $callback($resource);36 public function defer(callable $callback): void argument39 $this->deferCallbacks[$id] = $callback;42 public function read($resource, callable $callback): void argument46 $this->streamCallbacks[$id] = $callback;
6 * @param callable $callback Function to invoke when starting the fiber.8 public function __construct(callable $callback) {} argument
2 GC can cleanup cycle when callback references fiber
2 Backtrace in with object as fiber callback
2 Arguments to fiber callback
8 public function __construct(callable $callback) {} argument
34 * @param callable $callback Function to invoke when starting the fiber.36 public function __construct(callable $callback) {}97 …* @return mixed Return value of the fiber callback. NULL is returned if the fiber does not have a …124 A `Fiber` object is created using `new Fiber(callable $callback)` with any callable. The callable n…135 … to store a reference to itself elsewhere, such as within an event loop callback or an array of aw…
5 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
86 zend_observer_fiber_switch_handler callback; in zend_observer_fiber_switch_notify() local89 callback = *(zend_observer_fiber_switch_handler *) element->data; in zend_observer_fiber_switch_notify()90 callback(from, to); in zend_observer_fiber_switch_notify()
Completed in 15 milliseconds