Tornado 5.1 Documentation
not appropriate. • monotonic or Monotime add support for a monotonic clock, which improves reliability in environments where clock adjustments are frequent. No longer needed in Python 3. Platforms: Tornado 1.1 async def minute_loop2(): while True: nxt = gen.sleep(60) # Start the clock. await do_something() # Run while the clock is ticking. await nxt # Wait for the timer to run out. 5.1.4 Queue example request. • start_time: Time at which the HTTP operation started, based on time.time (not the monotonic clock used by IOLoop.time). May be None if the request timed out while in the queue. • time_info: dictionary0 码力 | 243 页 | 895.80 KB | 1 年前3
Tornado 6.0 Documentation
minute_loop2(): while True: nxt = gen.sleep(60) # Start the clock. await do_something() # Run while the clock is ticking. await nxt # Wait for the timer to run out based on time.time [https://docs.python.org/3.6/library/time.html#time.time] (not the monotonic clock used by IOLoop.time). May be None if the request timed out while in the queue. proxy_password (str implementations. request_time is now more accurate for curl_httpclient because it uses a monotonic clock when available. rethrow() → None[source] If there was an error on the request, raise an HTTPError0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.1 Documentation
minute_loop2(): while True: nxt = gen.sleep(60) # Start the clock. await do_something() # Run while the clock is ticking. await nxt # Wait for the timer to run out based on time.time [https://docs.python.org/3.6/library/time.html#time.time] (not the monotonic clock used by IOLoop.time). May be None if the request timed out while in the queue. proxy_port (int [https://docs implementations. request_time is now more accurate for curl_httpclient because it uses a monotonic clock when available. rethrow() → None[source] If there was an error on the request, raise an HTTPError0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 5.1 Documentation
[https://pypi.python.org/pypi/Monotime] add support for a monotonic clock, which improves reliability in environments where clock adjustments are frequent. No longer needed in Python 3. Platforms: Tornado minute_loop2(): while True: nxt = gen.sleep(60) # Start the clock. await do_something() # Run while the clock is ticking. await nxt # Wait for the timer to run out based on time.time [https://docs.python.org/3.6/library/time.html#time.time] (not the monotonic clock used by IOLoop.time). May be None if the request timed out while in the queue. time_info: dictionary0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.1 Documentation
6.1 async def minute_loop2(): while True: nxt = gen.sleep(60) # Start the clock. await do_something() # Run while the clock is ticking. await nxt # Wait for the timer to run out. 6.1.4 Queue example request. • start_time: Time at which the HTTP operation started, based on time.time (not the monotonic clock used by IOLoop.time). May be None if the request timed out while in the queue. • time_info: dictionary imple- mentations. request_time is now more accurate for curl_httpclient because it uses a monotonic clock when available. rethrow() → None If there was an error on the request, raise an HTTPError. Exceptions0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 6.0 Documentation
above: async def minute_loop2(): while True: nxt = gen.sleep(60) # Start the clock. await do_something() # Run while the clock is ticking. await nxt # Wait for the timer to run out. 6.1.4 Queue example request. • start_time: Time at which the HTTP operation started, based on time.time (not the monotonic clock used by IOLoop.time). May be None if the request timed out while in the queue. 86 Chapter 6. Documentation imple- mentations. request_time is now more accurate for curl_httpclient because it uses a monotonic clock when available. rethrow() → None If there was an error on the request, raise an HTTPError. Exceptions0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.4 Documentation
above: async def minute_loop2(): while True: nxt = gen.sleep(60) # Start the clock. await do_something() # Run while the clock is ticking. await nxt # Wait for the timer to run out. 6.1.4 Queue example request. • start_time: Time at which the HTTP operation started, based on time.time (not the monotonic clock used by IOLoop.time). May be None if the request timed out while in the queue. • time_info: dictionary implementa- tions. request_time is now more accurate for curl_httpclient because it uses a monotonic clock when available. rethrow() → None If there was an error on the request, raise an HTTPError. Exceptions0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.2 Documentation
above: async def minute_loop2(): while True: nxt = gen.sleep(60) # Start the clock. await do_something() # Run while the clock is ticking. await nxt # Wait for the timer to run out. 6.1.4 Queue example request. • start_time: Time at which the HTTP operation started, based on time.time (not the monotonic clock used by IOLoop.time). May be None if the request timed out while in the queue. • time_info: dictionary implementa- tions. request_time is now more accurate for curl_httpclient because it uses a monotonic clock when available. rethrow() → None If there was an error on the request, raise an HTTPError. Exceptions0 码力 | 260 页 | 1.06 MB | 1 年前3
Tornado 6.4 Documentation
above: async def minute_loop2(): while True: nxt = gen.sleep(60) # Start the clock. await do_something() # Run while the clock is ticking. await nxt # Wait for the timer to run out. 6.1.4 Queue example request. • start_time: Time at which the HTTP operation started, based on time.time (not the monotonic clock used by IOLoop.time). May be None if the request timed out while in the queue. • time_info: dictionary implementa- tions. request_time is now more accurate for curl_httpclient because it uses a monotonic clock when available. rethrow() → None If there was an error on the request, raise an HTTPError. Exceptions0 码力 | 268 页 | 1.09 MB | 1 年前3
Tornado 6.4 Documentation
above: async def minute_loop2(): while True: nxt = gen.sleep(60) # Start the clock. await do_something() # Run while the clock is ticking. await nxt # Wait for the timer to run out. 6.1.4 Queue example request. • start_time: Time at which the HTTP operation started, based on time.time (not the monotonic clock used by IOLoop.time). May be None if the request timed out while in the queue. • time_info: dictionary implementa- tions. request_time is now more accurate for curl_httpclient because it uses a monotonic clock when available. rethrow() → None If there was an error on the request, raise an HTTPError. Exceptions0 码力 | 268 页 | 1.09 MB | 1 年前3
共 20 条
- 1
- 2













