Page MenuHomePhabricator

D4815.id15579.diff
No OneTemporary

D4815.id15579.diff

diff --git a/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs b/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs
--- a/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs
+++ b/native/cpp/CommonCpp/grpc/grpc_client/src/lib.rs
@@ -62,7 +62,6 @@
}
}
- #[instrument(skip(self))]
async fn get_user_id(
&mut self,
auth_type: AuthType,
@@ -77,6 +76,15 @@
.await
}
+ #[instrument(skip(self))]
+ fn get_user_id_blocking(
+ &mut self,
+ auth_type: AuthType,
+ user_info: String,
+ ) -> Result<Response<GetUserIdResponse>, Status> {
+ RUNTIME.block_on(self.get_user_id(auth_type, user_info))
+ }
+
#[instrument(skip(self))]
async fn verify_user_token(
&mut self,

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 6, 7:55 PM (21 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250801
Default Alt Text
D4815.id15579.diff (714 B)

Event Timeline