/// <summary> /// Fails the Future, or throws an exception /// if the Future has already been set or failed. /// </summary> public void Fail(Future.Failure inFailure) { Fail(inFailure.Type, inFailure.Object); }
/// <summary> /// Attempts to return the failure object. /// </summary> public bool TryGetFailure(out Future.Failure outFailure) { outFailure = m_Failure; return(m_State == FutureState.Failed); }