Mercurial > pub > ImplabNet
diff Implab/AbstractEvent.cs @ 240:fa6cbf4d8841 v3
refactoring, moving to dotnercore, simplifying promises
author | cin |
---|---|
date | Tue, 23 Jan 2018 19:39:21 +0300 |
parents | d6fe09f5592c |
children | cbe10ac0731e |
line wrap: on
line diff
--- a/Implab/AbstractEvent.cs Wed Dec 13 19:54:45 2017 +0300 +++ b/Implab/AbstractEvent.cs Tue Jan 23 19:39:21 2018 +0300 @@ -4,7 +4,7 @@ using System.Reflection; namespace Implab { - public abstract class AbstractEvent<THandler> : ICancellationToken, ICancellable { + public abstract class AbstractEvent<THandler> : ICancellable { const int UNRESOLVED_SATE = 0; const int TRANSITIONAL_STATE = 1; @@ -30,8 +30,6 @@ int m_cancelRequest; Exception m_cancelationReason; - SimpleAsyncQueue<Action<Exception>> m_cancelationHandlers; - #region state managment bool BeginTransit() {