Exemplo n.º 1
0
        private static async Task ProcessSubResultAsync(
            IClusterClient client,
            IReducer proxy,
            string partialData)
        {
            var mapper = client.GetGrain <IMapper>(Guid.NewGuid());
            AcceloDataPerSec subResult = await mapper.MapAccelo(partialData);

            Console.WriteLine("\n\n{0}\n\n", subResult.ToString());
            await proxy.ReduceAccelo(subResult);
        }