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

Method add_callback

python/python3/tornado/test/ioloop_test.py:50–52  ·  view source on GitHub ↗
(self, callback, *args, **kwargs)

Source from the content-addressed store, hash-verified

48 old_add_callback = loop.add_callback
49
50 def add_callback(self, callback, *args, **kwargs):
51 test.calls += 1
52 old_add_callback(callback, *args, **kwargs)
53
54 loop.add_callback = types.MethodType(add_callback, loop) # type: ignore
55 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