Skip to content

Commit

Permalink
Add comments to explain for Dataset
Browse files Browse the repository at this point in the history
Explains the intended use of ExternalInputChans and ExternalOutputChans.
  • Loading branch information
justicezyx authored Sep 1, 2016
1 parent 0e18f9c commit be91ca8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flow/dataset.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ type Dataset struct {
Shards []*DatasetShard
Step *Step
ReadingSteps []*Step

// External[Input|Output]Chans are channels for reading and outputing
// data from and to external sources; meaning that they are not managed
// by other Dataset objects.
//
// They are used to setup in-memory input and output for a flow.
// See doChannel() and AddOutput().
ExternalInputChans []reflect.Value
ExternalOutputChans []reflect.Value

Expand Down

0 comments on commit be91ca8

Please sign in to comment.