public async Task<LcdsResponseString> CallKudos(String arg0) { int Id = Invoke("clientFacadeService", "callKudos", new object[] { arg0 }); while (!results.ContainsKey(Id)) await Task.Delay(10); TypedObject messageBody = results[Id].GetTO("data").GetTO("body"); LcdsResponseString result = new LcdsResponseString(messageBody); results.Remove(Id); return result; }
/// 17.) public void CallKudos(String arg0, LcdsResponseString.Callback callback) { LcdsResponseString cb = new LcdsResponseString(callback); InvokeWithCallback("clientFacadeService", "callKudos", new object[] { arg0 }, cb); }