| 153 | |
| 154 | template <typename T> |
| 155 | PromiseSatisfyActionP2<process::Promise<T>*, T> FutureSatisfy( |
| 156 | process::Future<T>* future, |
| 157 | T t) |
| 158 | { |
| 159 | process::Promise<T>* promise = new process::Promise<T>(); |
| 160 | *future = promise->future(); |
| 161 | return PromiseSatisfy(promise, t); |
| 162 | } |
| 163 | |
| 164 | |
| 165 | inline PromiseSatisfyActionP2<process::Promise<Nothing>*, Nothing> |