Exemple #1
0
        public static async Task Test()
        {
            SimpleKinClient firstKinClient  = new SimpleKinClient();
            SimpleKinClient secondKinClient = new SimpleKinClient();

            await Task.WhenAll(firstKinClient.FirstTest(), secondKinClient.FirstTest()).ConfigureAwait(false);
        }
Exemple #2
0
        public static async Task Test()
        {
            for (;;)
            {
                try
                {
                    SimpleKinClient firstKinClient = new SimpleKinClient();
                    //SimpleKinClient secondKinClient = new SimpleKinClient();

                    await firstKinClient.FirstTest();
                }
                catch
                {
                    //ignore
                }
            }
        }