Example #1
0
 public Promise(T value)
 {
     sharedState_ = new SharedState <T>(value);
 }
Example #2
0
 internal Future(SharedState <T> sharedState)
 {
     sharedState_ = sharedState;
 }
Example #3
0
 public Promise()
 {
     sharedState_ = new SharedState <T>();
 }