Skip to content
Discussion options

You must be logged in to vote

The clone() and child_token() methods do not do the same thing. The child token allows you to perform partial cancellations because child.cancel() does not affect the parent, but parent.cancel() will affect the child.

If you do not require partial cancellations, do not use child_token(). In that case, clone() is far more efficient.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ultimaweapon
Comment options

Answer selected by ultimaweapon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants