Beispiel #1
0
        public async void QuerySymbol(string symbol)
        {
            //using Action
            m_Client.QuerySymbol(symbol,
                                 response => Debug.Log(response),
                                 error => Debug.LogError(error)
                                 );


            //using Task
            try {
                var response = await m_Client.QuerySymbol(symbol);

                Debug.Log(response);
            }
            catch (Exception e) {
                Debug.LogError(e);
            }
        }