Let's see whether you can answer the following questions correctly:
Future
does which of the following?- Encapsulates the asynchronous execution of a callable
- Encapsulates the synchronous execution of a callable
- Runs an asynchronous method synchronously on the executor specified as an argument
- The
concurrent.futures.ThreadPoolExecutor
class provides us with which of the following?- A high-level interface for synchronously executing callables
- A high-level interface for asynchronously executing callables
- A high-level interface for composing HTTP requests
- The
@tornado.concurrent.run_on_executor
decorator allows us to do which of the following?- Run an asynchronous method synchronously on an executor
- Run an asynchronous method on an executor without generating
Future
- Run a synchronous method asynchronously on an executor
- The recommended way to write asynchronous code in Tornado is to use which of the following?
- Coroutines
- Chained callbacks
- Subroutines
- Which of the following fixtures, defined...