view Implab/IPromiseT.cs @ 242:cbe10ac0731e v3

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