Callbacks are guaranteed to be executed in the order they are enqueued, before any timer or stream events.
public onBeforeTick ( callable $listener ) | ||
$listener | callable |
/** * @override * @inheritDoc */ public function nextTick(callable $listener) { $this->loop->onBeforeTick($listener); }