Tornado 4.5 Documentation
methods; for coroutines, use the @gen.coroutine decorator without @asynchronous. (It is legal for legacy reasons to use the two decorators together provided @asynchronous is first, but @asynchronous will Coroutines and concurrency tornado.gen — Simplify asynchronous code Decorators Utility functions Legacy interface tornado.concurrent — Work with threads and futures Consumer methods Producer methods whether func is a coroutine function, i.e. a function wrapped with coroutine. New in version 4.5. Legacy interface Before support for Futures was introduced in Tornado 3.0, coroutines used subclasses of0 码力 | 333 页 | 322.34 KB | 1 年前3Tornado 5.1 Documentation
methods; for coroutines, use the @gen.coroutine decorator without @asynchronous. (It is legal for legacy reasons to use the two decorators together provided @asynchronous is first, but @asynchronous will Coroutines and concurrency tornado.gen — Generator-based coroutines Decorators Utility functions Legacy interface tornado.locks – Synchronization primitives Condition Event Semaphore BoundedSemaphore whether func is a coroutine function, i.e. a function wrapped with coroutine. New in version 4.5. Legacy interface Before support for Futures was introduced in Tornado 3.0, coroutines used subclasses of0 码力 | 359 页 | 347.32 KB | 1 年前3Tornado 4.5 Documentation
methods; for coroutines, use the @gen.coroutine dec- orator without @asynchronous. (It is legal for legacy reasons to use the two decorators together provided @asynchronous is first, but @asynchronous will coroutine. 108 Chapter 4. Documentation Tornado Documentation, Release 4.5.3 New in version 4.5. Legacy interface Before support for Futures was introduced in Tornado 3.0, coroutines used subclasses of0 码力 | 222 页 | 833.04 KB | 1 年前3Tornado 5.1 Documentation
methods; for coroutines, use the @gen.coroutine dec- orator without @asynchronous. (It is legal for legacy reasons to use the two decorators together provided @asynchronous is first, but @asynchronous will coroutine. New in version 4.5. 116 Chapter 5. Documentation Tornado Documentation, Release 5.1.1 Legacy interface Before support for Futures was introduced in Tornado 3.0, coroutines used subclasses of0 码力 | 243 页 | 895.80 KB | 1 年前3Tornado 6.0 Documentation
__call__( self, request: httputil.HTTPServerRequest ) -> Optional[Awaitable[None]]: # Legacy HTTPServer interface dispatcher = self.find_handler(request) return dispatcher.execute()0 码力 | 869 页 | 692.83 KB | 1 年前3Tornado 6.1 Documentation
__call__( self, request: httputil.HTTPServerRequest ) -> Optional[Awaitable[None]]: # Legacy HTTPServer interface dispatcher = self.find_handler(request) return dispatcher.execute()0 码力 | 931 页 | 708.03 KB | 1 年前3
共 6 条
- 1