Page MenuHomePhabricator

[native] add blocking version of get_user_id method
ClosedPublic

Authored by varun on Aug 11 2022, 12:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 2:34 PM
Unknown Object (File)
Sat, Oct 19, 1:24 AM
Unknown Object (File)
Sat, Oct 19, 1:24 AM
Unknown Object (File)
Sat, Oct 19, 1:23 AM
Unknown Object (File)
Sat, Oct 19, 1:19 AM
Unknown Object (File)
Tue, Oct 15, 10:30 AM
Unknown Object (File)
Oct 5 2024, 8:47 PM
Unknown Object (File)
Oct 5 2024, 7:55 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

Repository
rCOMM Comm
Branch
identity-client (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Aug 11 2022, 12:31 PM
Harbormaster failed remote builds in B11322: Diff 15579!
varun requested review of this revision.Aug 11 2022, 8:42 PM

Android build failure is unrelated

This revision is now accepted and ready to land.Aug 12 2022, 3:55 AM
This revision was landed with ongoing or failed builds.Aug 18 2022, 11:34 AM
This revision was automatically updated to reflect the committed changes.