once(function () { $this->resolve(); }, $timeout); } }