static private async void ShuffleTest1(ShardedDatasetClient client) { Expression <Func <int, IntKeyedDataset <int, int> > > sharder = x => new IntKeyedDataset <int, int>(x); var shardedIntKeyedDS = client.CreateShardedDataset <int, int, IntKeyedDataset <int, int> >(sharder); var deployedDS = await shardedIntKeyedDS.Transform <int, int, IntKeyedDataset <int, int> >(a => a.ShiftUp(1)) .Move <int, int, IntKeyedDataset <int, int>, int, int, IntKeyedDataset <int, int> >( (s, d) => s.Splitter(d), (m, d) => m.Merger(d), MoveDescriptor.MoveBase()) .Transform <int, int, IntKeyedDataset <int, int> >(a => a.ShiftUp(1)) .Deploy(); await deployedDS.Subscribe(() => new WriteToConsoleObserver <int, int>()); }