You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already fixed this some time back. scan and reduce are able to use accumulators of a type other than the one of Observable now. Imho this issue can be closed.
There should be support for generic reducers, for example to implement #32.
Right now Scan restricts accumulator to be the same type as an observable
scan(Observable<T> sequence, T initialValue, Func2<T, T, T> accumulator)
.This should be changed to
scan(Observable<T> sequence, A initialValue, Func2<A, T, A> accumulator)
..NET supports this type of reducers http://msdn.microsoft.com/en-us/library/hh212007(v=vs.103).aspx
The text was updated successfully, but these errors were encountered: