view Implab/PromiseEventType.cs @ 106:d4e38929ce36 v2

promises refactoring
author cin
date Mon, 10 Nov 2014 18:00:28 +0300
parents 5f10d54b45df
children 3fbc6eb93eb1
line wrap: on
line source

using System;

namespace Implab {
    [Flags]
    public enum PromiseEventType {
        Success = 1,
        Error = 2,
        Cancelled = 4,
        /// <summary>
        /// Завершено успешно, либо возникла ошибка, 
        /// </summary>
        All = 7,
        /// <summary>
        /// Заврешено успешно, либо возникла ошибка.
        /// </summary>
        Complete = 3
    }
}