nsIThreadInternal interface is implemented by the XPCOM thread object to let consumers observe dispatch activity on a thread.
||Get/set the current thread observer; set to
Reverts a call to
PushEventQueue(). When an event queue is popped, any events remaining in the queue are appended to the elder queue.
Causes any events currently enqueued on the thread to be suppressed until
PopEventQueue() is called. In addition, any new events dispatched to the thread are only processed if they are accepted by the specified filter.
If the filter is
null, all new events are accepted.
pushEventQueue() may be nested, and must each be paired with a corresponding call to
PopEventQueue() to restore the original state of the thread.
void pushEventQueue( in nsIThreadEventFilter filter );
nsIThreadEventFilterto apply to dispatched events, or
nullto accept all dispatched events.