MCPcopy Index your code
hub / github.com/bugy/script-server / _start_timer

Function _start_timer

src/auth/auth_abstract_oauth.py:55–59  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

53
54
55def _start_timer(callback):
56 timer = threading.Timer(30, callback)
57 timer.setDaemon(True)
58 timer.start()
59 return timer
60
61
62class AbstractOauthAuthenticator(auth_base.Authenticator, metaclass=abc.ABCMeta):

Callers 1

_schedule_dump_taskMethod · 0.85

Calls 1

startMethod · 0.45

Tested by

no test coverage detected