Function<INIT, Boolean> predicate) {
return new TaskStream<IN>(initialInput, function, predicate);
}
public static TaskStream<Character> characterTaskStream(InputStream inputStream) {
return new TaskStream<Character>(new ReaderStreamIterator(inputStream));
}