S
Srini
My application has a proprietry activex plugin that
raises events. When an event is fired, my app needs to
some processing(1 to 2 secs). Events can fire in quick
succession... somethings even before a prior event has
been processed. This is messing up my logic as the
application is highly state based.
What's the best practice to handle this kind of scenario?
Is there a way to queue up the events or block (but not
cancel) the events till the one being processed is
completed? Any suggestions are sincerely welcome.
Thanks
raises events. When an event is fired, my app needs to
some processing(1 to 2 secs). Events can fire in quick
succession... somethings even before a prior event has
been processed. This is messing up my logic as the
application is highly state based.
What's the best practice to handle this kind of scenario?
Is there a way to queue up the events or block (but not
cancel) the events till the one being processed is
completed? Any suggestions are sincerely welcome.
Thanks