![]() ![]() Arbitrary number of parameters to event handlers.Trying to dispatch or listen to an event type that doesn't exist throws errors instead of failing silently which helps to identify errors early.The intention of this library is to be a "small brick" that can be used together with other libraries and frameworks, helping people to develop evented applications easily!ĭoesn't rely on strings for subscribing/publishing to a event type: It also borrows some ideas from Joa Ebert AS3-Signals fork. (some extras and some missing) and some methods were renamed to avoid confusions and/or for brevity. This implementation is heavily inspired by Robert Penner's AS3-Signals but it is NOT a direct port, it has a different set of features ![]() To know more about the differences and advantages/disadvantages of each approach A Signal is similar to an Event Emitter/Dispatcher or a Pub/Sub system, the main difference is that each event type has its own controller and doesn't rely on strings to broadcast/subscribe to events. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |