view Implab/IDeferredT.cs @ 145:706fccb85524 v2

RC: cancellation support for promises + tests
author cin
date Sun, 08 Mar 2015 02:52:27 +0300
parents 16f926ee499d
children fa6cbf4d8841
line wrap: on
line source

using System;

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

        void Reject(Exception error);
    }
}