view Implab/IPromiseT.cs @ 244:eee3e49dd1ff v3

working on promises
author cin
date Thu, 25 Jan 2018 19:09:16 +0300
parents cbe10ac0731e
children fb70574741a1
line wrap: on
line source

using System;

namespace Implab {
    public interface IPromise<out T> : IPromise {

        void On(Action<T> success, Action<Exception> error);

        new T Join();

        new T Join(int timeout);
    }
}