Mercurial > pub > ImplabNet
view Implab/PromiseEventType.cs @ 205:8200ab154c8a v2
Added ResetState to RunnableComponent to reset in case of failure
Added StateChanged event to IRunnable
Renamed Promise.SUCCESS -> Promise.Success
Added Promise.FromException
Renamed Bundle -> PromiseAll in PromiseExtensions
author | cin |
---|---|
date | Tue, 25 Oct 2016 17:40:33 +0300 |
parents | 3fbc6eb93eb1 |
children |
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, ErrorOrCancel = 6 } }