Skip to content

Fix Async#fromCompletableFuture cancelation#2907

Merged
vasilmkd merged 5 commits intotypelevel:series/3.3.xfrom
armanbilge:issue/2903
Mar 24, 2022
Merged

Fix Async#fromCompletableFuture cancelation#2907
vasilmkd merged 5 commits intotypelevel:series/3.3.xfrom
armanbilge:issue/2903

Conversation

@armanbilge
Copy link
Copy Markdown
Member

@armanbilge armanbilge commented Mar 24, 2022

Fixes #2903. Supersedes #2904.

The bad news is, my test doesn't pass with @bplommer's fix 🤔 opening in case anyone has some ideas.

/cc @Daenyth for the test

@armanbilge armanbilge changed the title Issue/2903 Fix CompletableFuture cancelation Mar 24, 2022
@armanbilge armanbilge changed the title Fix CompletableFuture cancelation Fix Async#fromCompletableFuture cancelation Mar 24, 2022
@armanbilge
Copy link
Copy Markdown
Member Author

armanbilge commented Mar 24, 2022

Update: I was being dumb and not giving a chance for the fiber to start before canceling. Needed an IO.cede.

@armanbilge armanbilge marked this pull request as ready for review March 24, 2022 20:00
@armanbilge
Copy link
Copy Markdown
Member Author

Wait, nope, still broken 🤔

@vasilmkd vasilmkd merged commit 8956adf into typelevel:series/3.3.x Mar 24, 2022
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.

3 participants