Hi Senduran

Can you share the code segment you tried?


[1] http://www.w3schools.com/js/js_timing.asp






Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729





From: Senduran Balasubramaniyam
Sent: ‎Tuesday‎, ‎March‎ ‎24‎, ‎2015 ‎11‎:‎15‎ ‎PM
To: Mahesh Chinthaka
Cc: WSO2 Developers' List





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 <mahe...@wso2.com> 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 <sendu...@wso2.com> 
wrote:





Hi 



What is a best option for $subject ? 

I tried the setTimeout() but doesn't seem much helpful




Thanks

Senduran 



-- 




Senduran 

Software Engineer,

WSO2, Inc.;  http://wso2.com/

Mobile: +94 77 952 6548

_______________________________________________
Dev mailing list
Dev@wso2.org
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: mahe...@wso2.com | Web: www.wso2.com






-- 




Senduran 

Software Engineer,

WSO2, Inc.;  http://wso2.com/

Mobile: +94 77 952 6548
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to