public function add(
        string $serviceName,
        Promise $promise
    ) {
        $correlationId = $this->getPromiseCorrelationId($promise);

        $this->promises[$correlationId] = $promise;
        $this->services[$correlationId] = $serviceName;
    }