annotate Implab/PromiseEventType.cs @ 211:3eb3255d8cc5 v2

Code review, added a non generic version of SyncContextPromise
author cin
date Tue, 21 Mar 2017 17:29:13 +0300
parents 3fbc6eb93eb1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
104
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
1 using System;
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
2
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
3 namespace Implab {
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
4 [Flags]
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
5 public enum PromiseEventType {
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
6 Success = 1,
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
7 Error = 2,
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
8 Cancelled = 4,
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
9 /// <summary>
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
10 /// Завершено успешно, либо возникла ошибка,
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
11 /// </summary>
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
12 All = 7,
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
13 /// <summary>
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
14 /// Заврешено успешно, либо возникла ошибка.
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
15 /// </summary>
114
3fbc6eb93eb1 minor changes
cin
parents: 104
diff changeset
16 Complete = 3,
3fbc6eb93eb1 minor changes
cin
parents: 104
diff changeset
17
3fbc6eb93eb1 minor changes
cin
parents: 104
diff changeset
18 ErrorOrCancel = 6
104
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
19 }
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
20 }
5f10d54b45df renamed Promise.Last -> Promise.On
cin
parents:
diff changeset
21