public function start() { $this->getLoop()->onTick(function () { $this->emit('start'); $this->emit('command'); }); $this->getLoop()->start(); }