samedi 20 août 2016

Naming for Publish–subscribe pattern

I have a code a.subscribe(b). Now I need to do it the other way around eg. b.methodName(a) and preserve the meaning that a will be notified when b publish something. So what should name this methodName. My English is so poor that I can't let google give me the result. So I'm here.

Aucun commentaire:

Enregistrer un commentaire