id; } public function boot(LoopInterface $loop): void { $this->booted = true; if ($this->onBoot !== null) { ($this->onBoot)($loop); } } public function shutdown(): void { $this->wasShutDown = true; } }