PolyglotSymposium / void

A fearless modern text editor in the spirit of Vim
MIT License
3 stars 1 forks source link

Distribute messaging subscription to the services themselves #39

Closed Kazark closed 9 years ago

Kazark commented 9 years ago

I was wasting too much time on debugging errors caused by forgetting to go to another file and register. This means that only the service itself much be registered; it subscribes it ones handlers for whatever message types it wants. A channel is auto-created if an appropriate channel cannot be found. This is a much more scalable, if somewhat more magical, approach to the messaging infrastructure. :boom:!