uw-labs / proximo

Interoperable GRPC based publish/subscribe
GNU Lesser General Public License v3.0
41 stars 16 forks source link

Move logic from Consume and Publish functions to separate methods. #70

Closed SpeedyCoder closed 5 years ago

SpeedyCoder commented 5 years ago

I've moved logic from inline functions to separate methods on the servers, no other changes were made in this branch. This limits the access to the methods of the stream object and channels to the minimum required. It should also simplify migration to substrate backend going forward and is cleaner in my opinion.

I've based this on the branch that fixes CI, to avoid having failing build.

SpeedyCoder commented 5 years ago

This is covered in https://github.com/uw-labs/proximo/pull/73