Linux Mac OSX Windows

  
[scriptable, uuid(a0605c0b-17f5-4681-b8cd-a1cd75d42559)]
interface nsIThreadEventFilter : nsISupports

Methods

 Interface passed to the nsIThreadInternal::PushEventQueue method.


 This method is called to determine whether or not an event may be accepted
 by a "nested" event queue (see nsIThreadInternal::PushEventQueue).

 @param event
   The event being dispatched.

 WARNING: This method must not make any calls on the thread object.
[notxpcom] boolean acceptEvent(in nsIRunnable event)