view Implab/IDeferredT.cs @ 138:f75cfa58e3d4 v2

added ICancellable.Cancel(Exception) to allow specify the reason of cancellation
author cin
date Tue, 17 Feb 2015 18:16:26 +0300
parents 2573b562e328
children 16f926ee499d
line wrap: on
line source

using System;

namespace Implab {
    public interface IDeferred<T> : ICancellable {
        void Resolve(T value);

        void Reject(Exception error);
    }
}