Tornado 6.1 Documentation
Index Search Page Discussion and support You can discuss Tornado on the Tornado developer mailing list [https://groups.google.com/forum/#!forum/python-tornado], and report bugs on the GitHub issue tracker [https://github.com/tornadoweb/tornado/wiki/Links]. New releases are announced on the announcements mailing list [https://groups.google.com/forum/#!forum/python- tornado-announce]. Tornado is available under the IOLoop.run_in_executor instead. support some shorthand for waiting on multiple objects by yielding a list or dict. Use tornado.gen.multi to do this in native coroutines. can support integration with other0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.0 Documentation
Index Search Page Discussion and support You can discuss Tornado on the Tornado developer mailing list [http://groups.google.com/group/python-tornado], and report bugs on the GitHub issue tracker [https://github [https://github.com/tornadoweb/tornado/wiki/Links]. New releases are announced on the announcements mailing list [http://groups.google.com/group/python-tornado- announce]. Tornado is available under the Apache IOLoop.run_in_executor instead. support some shorthand for waiting on multiple objects by yielding a list or dict. Use tornado.gen.multi to do this in native coroutines. can support integration with other0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.2 Documentation
Index Search Page Discussion and support You can discuss Tornado on the Tornado developer mailing list [https://groups.google.com/forum/#!forum/python-tornado], and report bugs on the GitHub issue tracker [https://github.com/tornadoweb/tornado/wiki/Links]. New releases are announced on the announcements mailing list [https://groups.google.com/forum/#!forum/python- tornado-announce]. Tornado is available under the IOLoop.run_in_executor instead. support some shorthand for waiting on multiple objects by yielding a list or dict. Use tornado.gen.multi to do this in native coroutines. can support integration with other0 码力 | 407 页 | 385.03 KB | 1 年前3
Tornado 6.1 Documentation
IOLoop.run_in_executor instead. – support some shorthand for waiting on multiple objects by yielding a list or dict. Use tornado.gen. multi to do this in native coroutines. – can support integration with other parallel_fetch_many(urls): responses = await multi ([http_client.fetch(url) for url in urls]) # responses is a list of HTTPResponses in the same order async def parallel_fetch_dict(urls): responses = await multi({url: urls}) # responses is a dict {url: HTTPResponse} In decorated coroutines, it is possible to yield the list or dict directly: @gen.coroutine def parallel_fetch_decorated(url1, url2): resp1, resp2 = yield [http_client0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
IOLoop.run_in_executor instead. – support some shorthand for waiting on multiple objects by yielding a list or dict. Use tornado.gen. multi to do this in native coroutines. – can support integration with other parallel_fetch_many(urls): responses = await multi ([http_client.fetch(url) for url in urls]) # responses is a list of HTTPResponses in the same order async def parallel_fetch_dict(urls): responses = await multi({url: urls}) # responses is a dict {url: HTTPResponse} In decorated coroutines, it is possible to yield the list or dict directly: @gen.coroutine def parallel_fetch_decorated(url1, url2): resp1, resp2 = yield [http_client0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.4 Documentation
Index Search Page Discussion and support You can discuss Tornado on the Tornado developer mailing list [https://groups.google.com/forum/#!forum/python-tornado], and report bugs on the GitHub issue tracker [https://github.com/tornadoweb/tornado/wiki/Links]. New releases are announced on the announcements mailing list [https://groups.google.com/forum/#!forum/python- tornado-announce]. Tornado is available under the IOLoop.run_in_executor instead. support some shorthand for waiting on multiple objects by yielding a list or dict. Use tornado.gen.multi to do this in native coroutines. can support integration with other0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
Index Search Page Discussion and support You can discuss Tornado on the Tornado developer mailing list [https://groups.google.com/forum/#!forum/python-tornado], and report bugs on the GitHub issue tracker [https://github.com/tornadoweb/tornado/wiki/Links]. New releases are announced on the announcements mailing list [https://groups.google.com/forum/#!forum/python- tornado-announce]. Tornado is available under the IOLoop.run_in_executor instead. support some shorthand for waiting on multiple objects by yielding a list or dict. Use tornado.gen.multi to do this in native coroutines. can support integration with other0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
Index Search Page Discussion and support You can discuss Tornado on the Tornado developer mailing list [https://groups.google.com/forum/#!forum/python-tornado], and report bugs on the GitHub issue tracker [https://github.com/tornadoweb/tornado/wiki/Links]. New releases are announced on the announcements mailing list [https://groups.google.com/forum/#!forum/python- tornado-announce]. Tornado is available under the IOLoop.run_in_executor instead. support some shorthand for waiting on multiple objects by yielding a list or dict. Use tornado.gen.multi to do this in native coroutines. can support integration with other0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.3 Documentation
Index Search Page Discussion and support You can discuss Tornado on the Tornado developer mailing list [https://groups.google.com/forum/#!forum/python-tornado], and report bugs on the GitHub issue tracker [https://github.com/tornadoweb/tornado/wiki/Links]. New releases are announced on the announcements mailing list [https://groups.google.com/forum/#!forum/python- tornado-announce]. Tornado is available under the IOLoop.run_in_executor instead. support some shorthand for waiting on multiple objects by yielding a list or dict. Use tornado.gen.multi to do this in native coroutines. can support integration with other0 码力 | 423 页 | 398.18 KB | 1 年前3
Tornado 6.4 Documentation
IOLoop.run_in_executor instead. – support some shorthand for waiting on multiple objects by yielding a list or dict. Use tornado.gen.multi to do this in native coroutines. – can support integration with other parallel_fetch_many(urls): responses = await multi ([http_client.fetch(url) for url in urls]) # responses is a list of HTTPResponses in the same order async def parallel_fetch_dict(urls): responses = await multi({url: urls}) # responses is a dict {url: HTTPResponse} In decorated coroutines, it is possible to yield the list or dict directly: @gen.coroutine def parallel_fetch_decorated(url1, url2): resp1, resp2 = yield [http_client0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













