lightsheet-team / lightsheet

GNU Lesser General Public License v3.0
1 stars 1 forks source link

Implement core-ui event structure #51

Closed Fluglow closed 6 months ago

Fluglow commented 7 months ago

The core and UI should communicate using an event dispatcher rather than calling each others' methods directly. The event dispatcher should allow enqueueing Event objects that carry any properties related to the event. The event dispatcher should allow subscribing to these events so that any component can react to them.