Multifunctioning in Javascript
Posted
by
Starx
on Stack Overflow
See other posts from Stack Overflow
or by Starx
Published on 2010-12-28T08:19:31Z
Indexed on
2010/12/28
8:54 UTC
Read the original article
Hit count: 139
The concept is running multiple functions concurrently.
The reason is, I have a page which performs various actions through ajax. These actions includes making multiple backups of new files uploaded in the upload directory. But I want this process to be initiated by a moderator.
As this is a very lengthy process(might even take hours to complete), it blocks others ajax requests from executing, until this process complete.
I want to execute functions along with the previously executed function parallelly.
I am using jQuery's Ajax to sent initiate the request.
© Stack Overflow or respective owner