Tornado 6.5 Documentationtornado.queues module (and the very similar Queue classes in asyncio) implements an asynchronous producer / consumer pattern for coroutines, analogous to the pattern implemented for threads by the Python allow_ipv6: bool | None = None, client_key: str | None = None, client_cert: str | None = None, body_producer: Callable[[Callable[[bytes], None]], Future[None]] | None = None, expect_100_continue: bool = False HTTP request body as a string (byte or unicode; if unicode the utf-8 encoding will be used) • body_producer (collections.abc.Callable) – Callable used for lazy/asynchronous request bodies. It is called with0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 Documentationasyncio [https://docs.python.org/3/library/asyncio.html#module-asyncio]) implements an asynchronous producer / consumer pattern for coroutines, analogous to the pattern implemented for threads by the Python org/3/library/stdtypes.html#str] | None [https://docs.python.org/3/library/constants.html#None] = None, body_producer: Callable [https://docs.python.org/3/library/typing.html#typing.Callable][[Callable [https://docs HTTP request body as a string (byte or unicode; if unicode the utf-8 encoding will be used) body_producer (collections.abc.Callable [https://docs.python.org/3/library/collections.abc.html#collections.abc0 码力 | 437 页 | 405.14 KB | 3 月前3
julia 1.10.10or coroutines: Julia Tasks allow suspending and resuming computations for I/O, event handling, producer-consumer processes, and similar patterns. Tasks can synchronize through operations like wait and example is the producer-consumer problem, where one complex procedure is generating values and another complex procedure is consuming them. The consumer cannot simply call a producer function to get get a value, because the producer may have more values to generate and so might not yet be ready to return. With tasks, the producer and consumer can both run as long as they need to, passing values back0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9or coroutines: Julia Tasks allow suspending and resuming computations for I/O, event handling, producer-consumer processes, and similar patterns. Tasks can synchronize through operations like wait and example is the producer-consumer problem, where one complex procedure is generating values and another complex procedure is consuming them. The consumer cannot simply call a producer function to get get a value, because the producer may have more values to generate and so might not yet be ready to return. With tasks, the producer and consumer can both run as long as they need to, passing values back0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4or coroutines: Julia Tasks allow suspending and resuming computations for I/O, event handling, producer-consumer processes, and similar patterns. Tasks can synchronize through operations like wait and example is the producer-consumer problem, where one complex procedure is generating values and another complex procedure is consuming them. The consumer cannot simply call a producer function to get get a value, because the producer may have more values to generate and so might not yet be ready to return. With tasks, the producer and consumer can both run as long as they need to, passing values back0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentationor coroutines: Julia Tasks allow suspending and resuming computations for I/O, event handling, producer-consumer processes, and similar patterns. Tasks can synchronize through operations like wait and example is the producer-consumer problem, where one complex procedure is generating values and another complex procedure is consuming them. The consumer cannot simply call a producer function to get get a value, because the producer may have more values to generate and so might not yet be ready to return. With tasks, the producer and consumer can both run as long as they need to, passing values back0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notesor coroutines: Julia Tasks allow suspending and resuming computations for I/O, event handling, producer-consumer processes, and similar patterns. Tasks can synchronize through operations like wait and example is the producer-consumer problem, where one complex procedure is generating values and another complex procedure is consuming them. The consumer cannot simply call a producer function to get get a value, because the producer may have more values to generate and so might not yet be ready to return. With tasks, the producer and consumer can both run as long as they need to, passing values back0 码力 | 2007 页 | 6.73 MB | 3 月前3
julia 1.13.0 DEVor coroutines: Julia Tasks allow suspending and resuming computations for I/O, event handling, producer-consumer processes, and similar patterns. Tasks can synchronize through operations like wait and example is the producer-consumer problem, where one complex procedure is generating values and another complex procedure is consuming them. The consumer cannot simply call a producer function to get get a value, because the producer may have more values to generate and so might not yet be ready to return. With tasks, the producer and consumer can both run as long as they need to, passing values back0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 RC1or coroutines: Julia Tasks allow suspending and resuming computations for I/O, event handling, producer-consumer processes, and similar patterns. Tasks can synchronize through operations like wait and example is the producer-consumer problem, where one complex procedure is generating values and another complex procedure is consuming them. The consumer cannot simply call a producer function to get get a value, because the producer may have more values to generate and so might not yet be ready to return. With tasks, the producer and consumer can both run as long as they need to, passing values back0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4or coroutines: Julia Tasks allow suspending and resuming computations for I/O, event handling, producer-consumer processes, and similar patterns. Tasks can synchronize through operations like wait and example is the producer-consumer problem, where one complex procedure is generating values and another complex procedure is consuming them. The consumer cannot simply call a producer function to get get a value, because the producer may have more values to generate and so might not yet be ready to return. With tasks, the producer and consumer can both run as long as they need to, passing values back0 码力 | 2057 页 | 7.44 MB | 3 月前3
共 13 条
- 1
- 2













