view Implab/IDeferredT.cs @ 211:3eb3255d8cc5 v2

Code review, added a non generic version of SyncContextPromise
author cin
date Tue, 21 Mar 2017 17:29:13 +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);
    }
}