public synchronized < Q extends T > void dispatchAsynchronous ( final Q event , final IPostProcessor < Q > pPostProcessor ) { new Thread ( new Runnable ( ) { @ Override public void run ( ) { try { // delegate dispatch result pPostProcessor . done ( dispatch ( event ) ) ; } catch ( DispatchException lEx ) { // delegate exception handling as well pPostProcessor . done ( lEx ) ; } } } ) . start ( ) ; }
Dispatch an event to receivers asynchronously . Does start a thread and then return immediately .