Ejemplo n.º 1
0
        void SetWakeCondition(IFuture f, bool discardingResult)
        {
            _WakePrevious = WakeCondition;

            if (CheckForDiscardedError())
            {
                return;
            }

            WakeCondition         = f;
            _WakeDiscardingResult = discardingResult;
            if (f != null)
            {
                _ErrorChecked = false;
                f.RegisterOnErrorCheck(_OnErrorChecked);
            }
        }
Ejemplo n.º 2
0
        void SetWakeCondition(IFuture f, bool discardingResult)
        {
            _WakePrevious = WakeCondition;

            if (CheckForDiscardedError())
                return;

            WakeCondition = f;
            _WakeDiscardingResult = discardingResult;
            if (f != null) {
                _ErrorChecked = false;
                f.RegisterOnErrorCheck(_OnErrorChecked);
            }
        }