public function complete($value)
    {
        if (null === $this->observable) {
            return;
        }

        $this->observable = null;
        $this->delayed->resolve($value);
    }
public function complete($value)
    {
        if (null === $this->observable) {
            return;
        }

        $this->observable = null;
        $this->delayed->resolve($value);
    }
public function complete ( $ value ) { if ( null === $ this -> observable ) { return ; } $ this -> observable = null ; $ this -> delayed -> resolve ( $ value ) ; }
Marks the observable as complete.

@param mixed $value Observable return value.
Marks the observable as complete .