public function after($duration, $fn) { $this->loop->addTimer($this->timerOffset + $duration, $fn); $this->timerOffset += $duration; return $this; }