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

Class BlockingResolver

python/python3/tornado/netutil.py:481–493  ·  view source on GitHub ↗

Default `Resolver` implementation, using `socket.getaddrinfo`. The `.IOLoop` will be blocked during the resolution, although the callback will not be run until the next `.IOLoop` iteration. .. deprecated:: 5.0 The default `Resolver` now uses `.IOLoop.run_in_executor`; use that i

Source from the content-addressed store, hash-verified

479
480
481class BlockingResolver(ExecutorResolver):
482 """Default `Resolver` implementation, using `socket.getaddrinfo`.
483
484 The `.IOLoop` will be blocked during the resolution, although the
485 callback will not be run until the next `.IOLoop` iteration.
486
487 .. deprecated:: 5.0
488 The default `Resolver` now uses `.IOLoop.run_in_executor`; use that instead
489 of this class.
490 """
491
492 def initialize(self) -> None: # type: ignore
493 super().initialize()
494
495
496class ThreadedResolver(ExecutorResolver):

Callers 4

setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90
setUpMethod · 0.90

Calls

no outgoing calls

Tested by 4

setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72
setUpMethod · 0.72