Event#
- class gam.ast.program.Event(*, name: Literal['Event'] = 'Event', event_handlers: List[EventHandler] = None, **extra_data: Any)[source]#
Represents an event.
An Event is a collection of methods that are used to handle the events in the application. It is used to handle the events in the application, data flow like: User -> View -> Event -> EventHandler -> Controller -> Repository -> Database
- name: Literal['Event']#
- event_handlers: List[EventHandler]#