ZeroMemes / Alpine

A lightweight event system for Java 8+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dispatch Threads

ZeroMemes opened this issue · comments

Currently, all dispatches are immediate, and run on the same thread calling post. Some applications may have reason to defer the processing of events to a "main thread" or some other arbitrary queue.

An implementation of this should probably focus on per-Listener dispatch, since deferring all posted events can already easily be done by extending EventManager.