fold<R> method
Folds the stream into a single LxFuture result.
Implementation
LxFuture<R> fold<R>(
R initialValue, R Function(R previous, T element) combine) {
return LxFuture<R>.from(() => valueStream.fold(initialValue, combine));
}