Tornado 6.5 Documentationtornado.tcpserver — Basic IOStream-based TCP server Coroutines and concurrency tornado.gen — Generator-based coroutines tornado.locks – Synchronization primitives tornado.queues – Queues for coroutines yield is a generator. All generators are asynchronous; when called they return a generator object instead of running to completion. The @gen.coroutine decorator communicates with the generator via the yield decorator receives a Future from the generator, waits (without blocking) for that Future to complete, then “unwraps” the Future and sends the result back into the generator as the result of the yield expression0 码力 | 437 页 | 405.14 KB | 3 月前3
Tornado 6.5 Documentationyield is a generator. All generators are asynchronous; when called they return a generator object instead of running to completion. The @gen.coroutine decorator communicates with the generator via the yield decorator receives a Future from the generator, waits (without blocking) for that Future to complete, then “un- wraps” the Future and sends the result back into the generator as the result of the yield expression 1. classmethod get_content(abspath: str, start: int | None = None, end: int | None = None) → Generator[bytes, None, None] Retrieve the content of the requested resource which is located at the given0 码力 | 272 页 | 1.12 MB | 3 月前3
julia 1.10.10Comprehensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 19.5 Generator Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 19.6 Indexing map(abs2, 1:4) Base.Generator{UnitRange{Int64}, typeof(abs2)}(abs2, 1:4) julia> a 1 julia> b Base.Iterators.Rest{Base.Generator{UnitRange{Int64}, typeof(abs2)}, Int64}(Base.Generator{UnitRange{Int64} of any hard scope construct (i.e. within a let block, function or macro body, comprehension, or generator), a new local named x is created in the scope of the assignment; 3. Soft scope: If x is not already0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9Comprehensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 19.5 Generator Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 19.6 Indexing map(abs2, 1:4) Base.Generator{UnitRange{Int64}, typeof(abs2)}(abs2, 1:4) julia> a 1 julia> b Base.Iterators.Rest{Base.Generator{UnitRange{Int64}, typeof(abs2)}, Int64}(Base.Generator{UnitRange{Int64} of any hard scope construct (i.e. within a let block, function or macro body, comprehension, or generator), a new local named x is created in the scope of the assignment; 3. Soft scope: If x is not already0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4Comprehensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 20.5 Generator Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 20.6 Indexing map(abs2, 1:4) Base.Generator{UnitRange{Int64}, typeof(abs2)}(abs2, 1:4) julia> a 1 julia> b Base.Iterators.Rest{Base.Generator{UnitRange{Int64}, typeof(abs2)}, Int64}(Base.Generator{UnitRange{Int64} of any hard scope construct (i.e. within a let block, function or macro body, comprehension, or generator), a new local named x is created in the scope of the assignment; 3. Soft scope: If x is not already0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 DocumentationComprehensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 20.5 Generator Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 20.6 Indexing map(abs2, 1:4) Base.Generator{UnitRange{Int64}, typeof(abs2)}(abs2, 1:4) julia> a 1 julia> b Base.Iterators.Rest{Base.Generator{UnitRange{Int64}, typeof(abs2)}, Int64}(Base.Generator{UnitRange{Int64} of any hard scope construct (i.e. within a let block, function or macro body, comprehension, or generator), a new local named x is created in the scope of the assignment; 3. Soft scope: If x is not already0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release NotesComprehensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 20.5 Generator Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 20.6 Indexing map(abs2, 1:4) Base.Generator{UnitRange{Int64}, typeof(abs2)}(abs2, 1:4) julia> a 1 julia> b Base.Iterators.Rest{Base.Generator{UnitRange{Int64}, typeof(abs2)}, Int64}(Base.Generator{UnitRange{Int64} hard scope construct (i.e. within a let block, function, struct or macro body, comprehension, or generator), a new local named x is created in the scope of the assignment; 3. Soft scope: If x is not already0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.12.0 RC1Comprehensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 20.5 Generator Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 20.6 Indexing map(abs2, 1:4) Base.Generator{UnitRange{Int64}, typeof(abs2)}(abs2, 1:4) julia> a 1 julia> b Base.Iterators.Rest{Base.Generator{UnitRange{Int64}, typeof(abs2)}, Int64}(Base.Generator{UnitRange{Int64} hard scope construct (i.e. within a let block, function, struct or macro body, comprehension, or generator), a new local named x is created in the scope of the assignment; 3. Soft scope: If x is not already0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4Comprehensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 20.5 Generator Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 20.6 Indexing map(abs2, 1:4) Base.Generator{UnitRange{Int64}, typeof(abs2)}(abs2, 1:4) julia> a 1 julia> b Base.Iterators.Rest{Base.Generator{UnitRange{Int64}, typeof(abs2)}, Int64}(Base.Generator{UnitRange{Int64} hard scope construct (i.e. within a let block, function, struct or macro body, comprehension, or generator), a new local named x is created in the scope of the assignment; 3. Soft scope: If x is not already0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3Comprehensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 20.5 Generator Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 20.6 Indexing map(abs2, 1:4) Base.Generator{UnitRange{Int64}, typeof(abs2)}(abs2, 1:4) julia> a 1 julia> b Base.Iterators.Rest{Base.Generator{UnitRange{Int64}, typeof(abs2)}, Int64}(Base.Generator{UnitRange{Int64} hard scope construct (i.e. within a let block, function, struct or macro body, comprehension, or generator), a new local named x is created in the scope of the assignment; 3. Soft scope: If x is not already0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 14 条
- 1
- 2













