view Implab/IDeferredT.cs @ 245:b904e0a3ba72 v3

working on promises
author cin
date Fri, 26 Jan 2018 04:13:34 +0300
parents fa6cbf4d8841
children
line wrap: on
line source

using System;

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

        void Reject(Exception error);

        void SetCancelled(Exception error);
    }
}