nsIThreadEventFilter interface may be implemented to determine whether or not an event may be accepted by a nested event queue; see
nsIThreadInternal.PushEventQueue() for more information.
You should implement this interface and its
acceptEvent() method, then pass the object implementing it as the filter.
This method is called to determine whether or not an event may be accepted by a nested event queue. (see
Warning: This method must not make any calls on the thread object.
boolean acceptEvent( in nsIRunnable event );
- The event being dispatched.
Implement this method to return
true if the event is accepted, or
false to reject it.