Tornado 6.5 Documentationwhich serve as the building blocks for the HTTP components and can also be used to implement other protocols. The Tornado web framework and HTTP server together offer a full-stack alternative to WSGI. While low- level components like the IOLoop that use callbacks. Futures are usually transformed into their result with the await or yield keywords. Examples Here is a sample synchronous function: from tornado AsyncHTTPClient() my_future = Future() fetch_future = http_client.fetch(url) def on_fetch(f): my_future.set_result(f.result().body) fetch_future.add_done_callback(on_fetch) return my_future Notice that the coroutine0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 Documentationwhich serve as the building blocks for the HTTP components and can also be used to implement other protocols. The Tornado web framework and HTTP server together offer a full-stack alternative to WSGI [http://www low-level components like the IOLoop that use callbacks. Futures are usually transformed into their result with the await or yield keywords. Examples Here is a sample synchronous function: from tornado my_future = Future() fetch_future = http_client.fetch(url) def on_fetch(f):my_future.set_result(f.result().body) fetch_future.add_done_callback(on_fetch) return my_future Notice that the0 码力 | 437 页 | 405.14 KB | 3 月前3
julia 1.10.10Dictionaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690 42.7 Set-Like Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703 42.8 Dequeues Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1512 98.7 Test result types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1513 98.8 Creating variables with variable1 = variable2 = value) or used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value0 码力 | 1692 页 | 6.34 MB | 4 月前3
Julia 1.10.9Dictionaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690 42.7 Set-Like Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703 42.8 Dequeues Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1512 98.7 Test result types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1513 98.8 Creating variables with variable1 = variable2 = value) or used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value0 码力 | 1692 页 | 6.34 MB | 4 月前3
Julia 1.11.4Dictionaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 773 43.7 Set-Like Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 789 43.8 Dequeues Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1787 102.7 Test result types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1788 102.8 Creating variables with variable1 = variable2 = value) or used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value0 码力 | 2007 页 | 6.73 MB | 4 月前3
Julia 1.11.5 DocumentationDictionaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 773 43.7 Set-Like Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 789 43.8 Dequeues Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1787 102.7 Test result types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1788 102.8 Creating variables with variable1 = variable2 = value) or used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value0 码力 | 2007 页 | 6.73 MB | 4 月前3
Julia 1.11.6 Release NotesDictionaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 773 43.7 Set-Like Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 789 43.8 Dequeues Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1787 102.7 Test result types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1788 102.8 Creating variables with variable1 = variable2 = value) or used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value0 码力 | 2007 页 | 6.73 MB | 4 月前3
Julia 1.12.0 RC1Dictionaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 806 44.7 Set-Like Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 822 44.8 Dequeues Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1836 103.7 Test result types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1837 103.8 Creating variables with variable1 = variable2 = value) or used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value0 码力 | 2057 页 | 7.44 MB | 4 月前3
Julia 1.12.0 Beta4Dictionaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 805 44.7 Set-Like Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 821 44.8 Dequeues Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1835 103.7 Test result types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1836 103.8 Creating variables with variable1 = variable2 = value) or used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value0 码力 | 2057 页 | 7.44 MB | 4 月前3
Julia 1.12.0 Beta3Dictionaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 805 44.7 Set-Like Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 821 44.8 Dequeues Tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1835 103.7 Test result types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1836 103.8 Creating variables with variable1 = variable2 = value) or used in other expressions, and is also why their result is shown in the REPL as the value of the right-hand side. (In general, the REPL displays the value0 码力 | 2057 页 | 7.44 MB | 4 月前3
共 15 条
- 1
- 2













