Update events.rst
Changed flow of documentation because in the previous flow the event was dispatched but could not be registered, as it is confusing for the reader to first dispatch an event first and then register event listener for dispatched event. In proposed change reader will learn first to register an event listener then how to dispatch an event for the registered event listener.
Loading
Please sign in to comment