HomePhabricator
Diffusion Comm 0130fbf2a304

[native] add blocking version of get_user_id method

Description

[native] add blocking version of get_user_id method

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.

Reviewers: tomek, karol

Reviewed By: tomek, karol

Subscribers: ashoat, adrian, atul, abosh

Differential Revision: https://phab.comm.dev/D4815

Details

Provenance
varunAuthored on Aug 11 2022, 12:26 PM
Reviewer
tomek
Differential Revision
D4815: [native] add blocking version of get_user_id method
Parents
rCOMMc1469c21a1aa: [native] register_user client method
Branches
Unknown
Tags
Unknown