src/Leevel/Di/Container.php
public function existsCoroutine(string $name): bool
    {
        return false !== $this->coroutineUid() &&
            isset($this->coroutineInstances[$this->coroutineUid()], $this->coroutineInstances[$this->coroutineUid()][$name]);
    }
public function existsCoroutine(string $name): bool
    {
        return false !== $this->coroutineUid() &&
            isset($this->coroutineInstances[$this->coroutineUid()], $this->coroutineInstances[$this->coroutineUid()][$name]);
    }
协程服务或者实例是否存在.

@param string $name

@return bool