view Implab/IDeferredT.cs @ 151:ec91a6dfa5b3 v2

Added support for 'await' operator to promises
author cin
date Thu, 04 Feb 2016 02:43:05 +0300
parents 706fccb85524
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);
    }
}