Essentially converts the async get_user_id method to a sync method by blocking until the future is resolved. We do this because async functions are not allowed in the CXX bridge yet.
Depends on D4802
Paths
| Differential D4815 Authored by varun on Aug 11 2022, 12:30 PM.
Details Summary Essentially converts the async get_user_id method to a sync method by blocking until the future is resolved. We do this because async functions are not allowed in the CXX bridge yet. Depends on D4802 Test Plan Successfully called the sync version and get a response from the Identity service.
Diff Detail
Event TimelineHerald added subscribers: • abosh, atul, • adrian, ashoat. · View Herald TranscriptAug 11 2022, 12:30 PM2022-08-11 12:30:10 (UTC-7) Harbormaster returned this revision to the author for changes because remote builds failed.Aug 11 2022, 12:31 PM2022-08-11 12:31:31 (UTC-7) varun added a child revision: D4820: [native] set up CXX bridge.Aug 11 2022, 8:43 PM2022-08-11 20:43:24 (UTC-7) This revision is now accepted and ready to land.Aug 12 2022, 3:55 AM2022-08-12 03:55:22 (UTC-7) This revision was landed with ongoing or failed builds.Aug 18 2022, 11:34 AM2022-08-18 11:34:09 (UTC-7) Closed by commit rCOMM0130fbf2a304: [native] add blocking version of get_user_id method (authored by varun). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 15753 native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs
|