MCPcopy Create free account
hub / github.com/EasyIME/PIME / delay

Method delay

python/python3/tornado/test/gen_test.py:32–36  ·  view source on GitHub ↗

Returns arg after a number of IOLoop iterations.

(self, iterations, arg)

Source from the content-addressed store, hash-verified

30class GenBasicTest(AsyncTestCase):
31 @gen.coroutine
32 def delay(self, iterations, arg):
33 """Returns arg after a number of IOLoop iterations."""
34 for i in range(iterations):
35 yield gen.moment
36 raise gen.Return(arg)
37
38 @gen.coroutine
39 def async_future(self, result):

Callers 3

fMethod · 0.95
jquery-ui.min.jsFile · 0.80
jquery-ui.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected