view Implab/ITaskController.cs @ 33:b255e4aeef17

removed the reference to the parent from the promise object this allows resolved promises to release parents and results they are holding. Added complete set of operations to IPromiseBase interface Subscribing to the cancellation event of the promise should not affect it's IsExclusive property More tests.
author cin
date Thu, 10 Apr 2014 02:39:29 +0400
parents 9bf5b23650c9
children 706fccb85524
line wrap: on
line source

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Implab {
    public interface ITaskController: IProgressHandler, ICancellable {
        bool IsCancelled {
            get;
        }

        event EventHandler Cancelled;
    }
}