Since subsequent messages of a live stream are meant to be folded into the state (the first message), they are relatively useless without the original reduce function used to construct the flumeview. I don't see an easy way to get at that. For instance, if I'm using a 3rd-party lib like ssb-about that doesn't export its reducer, I'd have to copy and paste the reduce function if I wanted to use a live stream of that flumeview.
If there is already an easy way to get at the reducer, let me know. Otherwise how can we make this easy without requiring plugin authors to export their reduce function explicitly? I guess it's not so simple to "send a function over the wire" to the client...
Since subsequent messages of a live stream are meant to be folded into the state (the first message), they are relatively useless without the original
reducefunction used to construct the flumeview. I don't see an easy way to get at that. For instance, if I'm using a 3rd-party lib likessb-aboutthat doesn't export its reducer, I'd have to copy and paste the reduce function if I wanted to use a live stream of that flumeview.If there is already an easy way to get at the reducer, let me know. Otherwise how can we make this easy without requiring plugin authors to export their reduce function explicitly? I guess it's not so simple to "send a function over the wire" to the client...