ryanclanigan / messaging-bridge

MIT License
0 stars 0 forks source link

Split up deconstructing message with actually sending one #6

Closed ryanclanigan closed 4 years ago

ryanclanigan commented 4 years ago

Ideally it'd be great if each client knew how to deconstruct a message and could simply pass it to other clients that actually know how to send it. Instead of having a pointer to each live client, they have a handler function they pass the message to which redirects to the various places that things could be sent to.

ryanclanigan commented 4 years ago

Done in dc69a7f56126d70d9e37a54ea224e6f65bbfcc99