(self)
return self.unit.namespace.result
Easy access to the resulting value from the coroutine.
Easy access to the resulting value from the coroutine.
Easy access to the resulting value from the coroutine .
def result(self) -> R:
        """Easy access to the resulting value from the coroutine."""
        if self.exitcode is None:
            raise ValueError("coroutine not completed")

        return self.unit.namespace.result
def result ( self ) -> R : if self . exitcode is None : raise ValueError ( "coroutine not completed" ) return self . unit . namespace . result