How event driven systems work? -
this question bugs me. how event handling systems works?
what understand there must loop waits message or activates portion of code. know wrong idea need understand how works (abstractly)?
if there diagrams can explain !
if asking events in c# suppose implementation of publisher/subscriber or observer patterns.
http://en.wikipedia.org/wiki/publish%e2%80%93subscribe_pattern http://en.wikipedia.org/wiki/observer_pattern
in short, there no waiting, subscriber gives publisher code (via delegate) invoke when publisher fires event.
Comments
Post a Comment