Lines Matching refs:cancelled
335 **won't be cancelled** and will continue to run.
340 If ``gather()`` is *cancelled*, all submitted awaitables
341 (that have not completed yet) are also *cancelled*.
343 If any Task or Future from the *aws* sequence is *cancelled*, it is
345 call is **not** cancelled in this case. This is to prevent the
347 Tasks/Futures to be cancelled.
389 If the *gather* itself is cancelled, the cancellation is
399 from being :meth:`cancelled <Task.cancel>`.
411 *except* that if the coroutine containing it is cancelled, the
412 Task running in ``something()`` is not cancelled. From the point
414 Although its caller is still cancelled, so the "await" expression
417 If ``something()`` is cancelled by other means (i.e. from within
453 The function will wait until the future is actually cancelled,
456 If the wait is cancelled, the future *aw* is also cancelled.
484 When *aw* is cancelled due to a timeout, ``wait_for`` waits
485 for *aw* to be cancelled. Previously, it raised
521 | | future finishes or is cancelled. |
530 | | futures finish or are cancelled. |
698 object during cancellation, the Future object will be cancelled.
700 :meth:`cancelled` can be used to check if the Task was cancelled.
703 cancelled.
724 Request the Task to be cancelled.
733 not guarantee that the Task will be cancelled, although
765 print("main(): cancel_me is cancelled now")
774 # main(): cancel_me is cancelled now
776 .. method:: cancelled()
778 Return ``True`` if the Task is *cancelled*.
780 The Task is *cancelled* when the cancellation was requested with
789 a value, raised an exception, or the Task was cancelled.
799 If the Task has been *cancelled*, this method raises
813 If the Task has been *cancelled*, this method raises a
843 successfully or was cancelled, this returns an empty list.