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

Method resolve

tornado/netutil.py:416–422  ·  view source on GitHub ↗
(
        self, host: str, port: int, family: socket.AddressFamily = socket.AF_UNSPEC
    )

Source from the content-addressed store, hash-verified

414 """
415
416 async def resolve(
417 self, host: str, port: int, family: socket.AddressFamily = socket.AF_UNSPEC
418 ) -> List[Tuple[int, Any]]:
419 result = await IOLoop.current().run_in_executor(
420 None, _resolve_addr, host, port, family
421 )
422 return result
423
424
425class DefaultLoopResolver(Resolver):

Callers

nothing calls this directly

Calls 2

currentMethod · 0.80
run_in_executorMethod · 0.45

Tested by

no test coverage detected