in crates/libs/core/src/client/query_client.rs [116:131]
fn get_deployed_replica_detail_internal(
&self,
desc: &FABRIC_DEPLOYED_SERVICE_REPLICA_DETAIL_QUERY_DESCRIPTION,
timeout_milliseconds: u32,
cancellation_token: Option<CancellationToken>,
) -> FabricReceiver<crate::WinResult<IFabricGetDeployedServiceReplicaDetailResult>> {
let com1 = &self.com;
let com2 = self.com.clone();
fabric_begin_end_proxy(
move |callback| unsafe {
com1.BeginGetDeployedReplicaDetail(desc, timeout_milliseconds, callback)
},
move |ctx| unsafe { com2.EndGetDeployedReplicaDetail(ctx) },
cancellation_token,
)
}