view Implab/IDeferredT.cs @ 240:fa6cbf4d8841 v3

refactoring, moving to dotnercore, simplifying promises
author cin
date Tue, 23 Jan 2018 19:39:21 +0300
parents 706fccb85524
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);
    }
}