Skip to content

Remove task.doOnCancel(cancelComposite) in Observable.mapParallel#1070

Merged
Avasil merged 1 commit into
monix:masterfrom
Avasil:mapParallel-remove-cancelComposite
Nov 6, 2019
Merged

Remove task.doOnCancel(cancelComposite) in Observable.mapParallel#1070
Avasil merged 1 commit into
monix:masterfrom
Avasil:mapParallel-remove-cancelComposite

Conversation

@Avasil
Copy link
Copy Markdown
Collaborator

@Avasil Avasil commented Nov 6, 2019

@TapanVaishnav I noticed that doOnCancel(cancelComposite) is redundant because a Task is a part of composite - so if it gets canceled then the other Task will as well.

I didn't want to bother you because of my oversight :D

@Avasil Avasil merged commit c9f2a69 into monix:master Nov 6, 2019
@TapanVaishnav
Copy link
Copy Markdown
Contributor

@TapanVaishnav I noticed that doOnCancel(cancelComposite) is redundant because a Task is a part of composite - so if it gets canceled then the other Task will as well.

I see

I didn't want to bother you because of my oversight :D

No trouble, I'm ready to help anytime.

@Avasil Avasil deleted the mapParallel-remove-cancelComposite branch November 17, 2019 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants