Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new <see cref=""/> by connecting the current
 /// </summary>
 /// <typeparam name="TOutput"></typeparam>
 /// <param name="broadcastStream">The broadcast stream with the broadcast state to be connected with this stream.</param>
 /// <returns>The <see cref="BroadcastConnectedStream{TInput1,TInput2}"/>.</returns>
 public BroadcastConnectedStream <TElement, TOutput> Connect <TOutput>(BroadcastStream <TOutput> broadcastStream) =>
 new BroadcastConnectedStream <TElement, TOutput>(
     ExecutionEnvironment,
     this,
     Preconditions.CheckNotNull(broadcastStream),
     broadcastStream.BroadcastStateDescriptors);