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

Method spawn_callback

tornado/ioloop.py:673–680  ·  view source on GitHub ↗

Calls the given callback on the next IOLoop iteration. As of Tornado 6.0, this method is equivalent to `add_callback`. .. versionadded:: 4.0

(self, callback: Callable, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

671 raise NotImplementedError()
672
673 def spawn_callback(self, callback: Callable, *args: Any, **kwargs: Any) -> None:
674 """Calls the given callback on the next IOLoop iteration.
675
676 As of Tornado 6.0, this method is equivalent to `add_callback`.
677
678 .. versionadded:: 4.0
679 """
680 self.add_callback(callback, *args, **kwargs)
681
682 def add_future(
683 self,

Callers 4

__call__Method · 0.80
handle_streamMethod · 0.80
getMethod · 0.80
test_spawn_callbackMethod · 0.80

Calls 1

add_callbackMethod · 0.95

Tested by 3

handle_streamMethod · 0.64
getMethod · 0.64
test_spawn_callbackMethod · 0.64