Closed carocad closed 6 years ago
Currently we only give the channel to the passed function.
This has the problem that we need to create lots of channel pipelines just to get things forwarded. See geocoding service for an example of the code duplication introduced: https://github.com/hiposfer/hive/blob/reagent/src/hive/services/geocoding.cljs
If instead of returning a channel we would return the service itself, then we can avoid this forwarding all together.
this no longer applies as we dont use component framework anymore
Currently we only give the channel to the passed function.
This has the problem that we need to create lots of channel pipelines just to get things forwarded. See geocoding service for an example of the code duplication introduced: https://github.com/hiposfer/hive/blob/reagent/src/hive/services/geocoding.cljs
If instead of returning a channel we would return the service itself, then we can avoid this forwarding all together.