question: start processing events as soon as the queue is n't empty . if the queue is not empty , this method will process all events already in the queue and any event that will be added while the queue is being processed . concode_field_sep boolean started concode_elem_sep LinkedList<T> queuedEvents concode_elem_sep boolean isProcessing concode_field_sep void processEvents concode_elem_sep void sendEvent concode_elem_sep void processEvent
target: void function ( ) { synchronized ( queuedEvents ) { if ( started ) { return ; } started = true ; isProcessing = true ; } processEvents ( ) ; }