Skip to content

Cancelling Coroutine Vs Cancelling Coroutines children

Devrath edited this page Jan 11, 2024 · 3 revisions

🚨 Important Difference

  • Cancelling a co-routine involves stopping all the suspending functions and its children.
  • If we cancel an entire coroutine via root, You cannot restart it
  • If we cancel only the children, We can re-start the co-routine again.
Clone this wiki locally