annotate Implab/PromiseState.cs @ 29:768f7deeb55b

Added a casting method for promises.
author cin
date Thu, 06 Mar 2014 17:59:03 +0400
parents 7ea9363fef6c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
1 using System;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
2 using System.Collections.Generic;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
3 using System.Linq;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
4 using System.Text;
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
5
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
6 namespace Implab
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
7 {
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
8 public enum PromiseState
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
9 {
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
10 Unresolved,
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
11 Resolved,
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
12 Cancelled,
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
13 Rejected
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
14 }
7ea9363fef6c inital progress handling
cin
parents:
diff changeset
15 }