Lines Matching refs:AsyncResult
39 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
48 AsyncResult<TestMessage> res = AsyncResult<TestMessage>::Create(); in TEST()
66 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
74 AsyncResult<TestMessage> res = AsyncResult<TestMessage>::Create(); in TEST()
87 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
102 [num_callbacks](AsyncResult<TestMessage>) { (*num_callbacks)++; }); in TEST()
110 deferred.Bind([](AsyncResult<TestMessage>) {}); in TEST()
115 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
120 AsyncResult<TestMessage> res = AsyncResult<TestMessage>::Create(); in TEST()
130 std::function<void(AsyncResult<TestMessage>)> callback = in TEST()
131 [num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
142 AsyncResult<TestMessage> res = AsyncResult<TestMessage>::Create(); in TEST()
145 AsyncResult<TestMessage> res_moved(std::move(res)); in TEST()
162 res = AsyncResult<TestMessage>::Create(); in TEST()
171 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
186 std::function<void(AsyncResult<TestMessage>)> callback = in TEST()
187 [num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
198 AsyncResult<TestMessage> res = AsyncResult<TestMessage>::Create(); in TEST()
203 AsyncResult<TestMessage> res_moved(std::move(res)); in TEST()
208 AsyncResult<TestMessage> res = AsyncResult<TestMessage>::Create(); in TEST()
228 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
235 AsyncResult<TestMessage> res = AsyncResult<TestMessage>::Create(); in TEST()
255 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
271 AsyncResult<ProtoMessage> async_result_base(std::move(msg)); in TEST()