Lines Matching refs:Future
34 and returns a :class:`Future` object representing the execution of the
104 Deadlocks can occur when the callable associated with a :class:`Future` waits on
105 the results of another :class:`Future`. For example::
209 Calling :class:`Executor` or :class:`Future` methods from a callable submitted
278 Future Objects
281 The :class:`Future` class encapsulates the asynchronous execution of a callable.
282 :class:`Future` instances are created by :meth:`Executor.submit`.
284 .. class:: Future
286 Encapsulates the asynchronous execution of a callable. :class:`Future`
353 The following :class:`Future` methods are meant for use in unit tests and
359 before executing the work associated with the :class:`Future` and by unit
362 If the method returns ``False`` then the :class:`Future` was cancelled,
363 i.e. :meth:`Future.cancel` was called and returned `True`. Any threads
364 waiting on the :class:`Future` completing (i.e. through
367 If the method returns ``True`` then the :class:`Future` was not cancelled
369 :meth:`Future.running` will return `True`.
372 :meth:`Future.set_result` or :meth:`Future.set_exception` have been
377 Sets the result of the work associated with the :class:`Future` to
385 Sets the result of the work associated with the :class:`Future` to the
397 Wait for the :class:`Future` instances (possibly created by different
430 Returns an iterator over the :class:`Future` instances (possibly created by