# Timer

from direct.stdpy.threading import Timer

Call a function after a specified number of seconds:
t = Timer(30.0, f, args=[], kwargs={}) t.start() t.cancel() # stop the timer's action if it's still waiting

## Inheritance:

Timer: Thread
Thread: _Verbose
_Verbose:

## Methods of Timer:

__init__
cancel
run

## Methods of Thread:

__bootstrap
__delete
__init__
__repr__
__stop
_set_daemon
getName
isAlive
isDaemon
join
run
setDaemon
setName
start

__init__ def __init__(self, interval, function, args=[], kwargs={}) Undocumented function.

cancel def cancel(self) Stop the timer if it hasn't finished yet

run def run(self) Undocumented function.

__bootstrap def __bootstrap(self) Undocumented function.

__delete def __delete(self) Remove current thread from the dict of currently running threads.

__init__ def __init__(self, group=None, target=None, name=None, args=(), kwargs=None, verbose=None) Undocumented function.

__repr__ def __repr__(self) Undocumented function.

__stop def __stop(self) Undocumented function.

_set_daemon def _set_daemon(self) Undocumented function.

getName def getName(self) Undocumented function.

isAlive def isAlive(self) Undocumented function.

isDaemon def isDaemon(self) Undocumented function.

join def join(self, timeout=None) Undocumented function.

run def run(self) Undocumented function.

setDaemon def setDaemon(self, daemonic) Undocumented function.

setName def setName(self, name) Undocumented function.

start def start(self) Undocumented function.