view Implab/IDeferredT.cs @ 242:cbe10ac0731e v3

Working on promises
author cin
date Wed, 24 Jan 2018 03:03:21 +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);
    }
}