public Stream <R, Epoch> NewInput <R>(DataSource <R> source, string name) { Dataflow.StreamingInputStage <R> ret = new Dataflow.StreamingInputStage <R>(source, this.DefaultPlacement, this, name); this.inputs.Add(ret); this.streamingInputs.Add(source); return(ret); }
internal static Stream <S, Epoch> MakeStage(DataSource <S> source, InternalComputation internalComputation, Placement placement, string inputName) { var stage = new StreamingInputStage <S>(source, placement, internalComputation, inputName); return(stage); }