This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Package fan is a little concurrent io experiment. | |
Example Use Case | |
---------------- | |
You have a function that takes a single io.Reader as an argument. You would like | |
to pass that reader to several processing functions. You could just make the | |
function accept an io.ReadSeeker, invoke each function serially in a for loop, | |
seeking after each call. But that's not cool. |