-
Notifications
You must be signed in to change notification settings - Fork 203
Home
robertpenner edited this page Sep 13, 2010
·
23 revisions
Signals is a new approach for AS3 events, inspired by [http://en.wikipedia.org/wiki/C_Sharp_syntax#Events C# events] and [http://en.wikipedia.org/wiki/Signals_and_slots signals/slots] in Qt.
It’s in the early stages and I am looking for your impressions, critiques and suggestions.
My email is info at robertpenner.com.
I’m @robpenner on Twitter.
- A Signal is essentially a mini-dispatcher specific to one event, with its own array of listeners.
- A Signal gives an event a concrete membership in a class.
- Listeners subscribe to real objects, not to string-based channels.
- Event string constants are no longer needed.