| 230 | } |
| 231 | |
| 232 | bool FutureImpl::TryAddCallback(const std::function<Callback()>& callback_factory, |
| 233 | CallbackOptions opts) { |
| 234 | return GetConcreteFuture(this)->TryAddCallback(callback_factory, opts); |
| 235 | } |
| 236 | |
| 237 | Future<> AllComplete(const std::vector<Future<>>& futures) { |
| 238 | struct State { |