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

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