Lines Matching refs:cancelled
357 **won't be cancelled** and will continue to run.
362 If ``gather()`` is *cancelled*, all submitted awaitables
363 (that have not completed yet) are also *cancelled*.
365 If any Task or Future from the *aws* sequence is *cancelled*, it is
367 call is **not** cancelled in this case. This is to prevent the
369 Tasks/Futures to be cancelled.
425 If the *gather* itself is cancelled, the cancellation is
446 from being :meth:`cancelled <Task.cancel>`.
458 *except* that if the coroutine containing it is cancelled, the
459 Task running in ``something()`` is not cancelled. From the point
461 Although its caller is still cancelled, so the "await" expression
464 If ``something()`` is cancelled by other means (i.e. from within
507 The function will wait until the future is actually cancelled,
511 If the wait is cancelled, the future *aw* is also cancelled.
542 When *aw* is cancelled due to a timeout, ``wait_for`` waits
543 for *aw* to be cancelled. Previously, it raised
586 | | future finishes or is cancelled. |
595 | | futures finish or are cancelled. |
844 object during cancellation, the Future object will be cancelled.
846 :meth:`cancelled` can be used to check if the Task was cancelled.
849 cancelled.
874 Request the Task to be cancelled.
883 not guarantee that the Task will be cancelled, although
918 print("main(): cancel_me is cancelled now")
927 # main(): cancel_me is cancelled now
929 .. method:: cancelled()
931 Return ``True`` if the Task is *cancelled*.
933 The Task is *cancelled* when the cancellation was requested with
942 a value, raised an exception, or the Task was cancelled.
952 If the Task has been *cancelled*, this method raises
966 If the Task has been *cancelled*, this method raises a
996 successfully or was cancelled, this returns an empty list.