Thanks Mahesh, When I gave a function and the time delay to setTimeout() it didn't work for me. The function didn't wait for the time delay I passed, instead it executed immediately.
I totally forgot we can simply use java methods in Jaggery. It works fine. Thanks again On Tue, Mar 24, 2015 at 10:44 PM, Mahesh Chinthaka <[email protected]> wrote: > Hi Senduran, > What are the difficulties u faced with using setTimeOut() ? > > AFAIK this should work since we have the Rhino support in jaggery, > > java.lang.Thread.sleep(timeInMilliseconds); > > > Thanks > > On Tue, Mar 24, 2015 at 10:27 PM, Senduran Balasubramaniyam < > [email protected]> wrote: > >> Hi >> >> What is a best option for $subject ? >> I tried the setTimeout() >> <http://www.w3schools.com/jsref/met_win_settimeout.asp> but doesn't seem >> much helpful >> >> Thanks >> Senduran >> >> -- >> *Senduran * >> Software Engineer, >> WSO2, Inc.; http://wso2.com/ <http://wso2.com/> >> Mobile: +94 77 952 6548 >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Mahesh Chinthaka Vidanagama* | Software Engineer > WSO2, Inc | lean. enterprise. middleware. > #20, Palm Grove, Colombo 03, Sri Lanka > Mobile: +94 71 63 63 083 | Work: +94 112 145 345 > Email: [email protected] | Web: www.wso2.com > -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/ <http://wso2.com/> Mobile: +94 77 952 6548
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
