i need help about timer api

timer.performWithDelay( 8000,
function()
get(0,60,5)
end
,1)

What Should I do to get best performance if i am using too much timers calling With Delay in my code it is self managed or should i cancel timer after 8000 ms

i am using around 30 timer calls in the same way but in different period in my code

also all timers not loop forever

with respect

timer.performWithDelay( 8000,
function()
get(0,60,5)
end
,1)

it will call only one time there is no need to cancel it

you need cancel timer if and if it is loop forever or multiple times

Thank you @hgvyas123 :) for help now i understand what happens clearly :)

with respect

Doesn't putting a function inside a timer call, call it straight away rather than after the set period?

views:1361 update:2011/10/16 9:47:44
corona forums © 2003-2011