MCPcopy
hub / github.com/tornadoweb/tornado / add_callback

Method add_callback

tornado/test/ioloop_test.py:49–51  ·  view source on GitHub ↗
(self, callback, *args, **kwargs)

Source from the content-addressed store, hash-verified

47 old_add_callback = loop.add_callback
48
49 def add_callback(self, callback, *args, **kwargs):
50 test.calls += 1
51 old_add_callback(callback, *args, **kwargs)
52
53 loop.add_callback = types.MethodType(add_callback, loop) # type: ignore
54 loop.add_callback(lambda: {}) # type: ignore

Callers 15

resolve_connectMethod · 0.45
test_leaked_coroutineMethod · 0.45
loop_brieflyMethod · 0.45
stop_serverMethod · 0.45
tearDownMethod · 0.45
finish_coroutinesMethod · 0.45
testerMethod · 0.45
schedule_callbackMethod · 0.45
targetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected