Skip to content

Fix MonadCancel scaladoc#4629

Open
reardonj wants to merge 2 commits into
typelevel:series/3.7.xfrom
reardonj:3994-monad-cancel-docs
Open

Fix MonadCancel scaladoc#4629
reardonj wants to merge 2 commits into
typelevel:series/3.7.xfrom
reardonj:3994-monad-cancel-docs

Conversation

@reardonj

@reardonj reardonj commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Fixes #3994

  • clarify that observation of cancelation is not guaranteed
  • be more specific about difference between requesting cancelation, observing cancelation and a fiber actually being canceled.
  • clarify that there is a cancelation boundary before a fiber executes anything
  • remove incorrect exceptions to cancelation boundary checks
  • move law violation discussion to the bottom
  • fix IO and Async docs to be clear that never can be canceled

Fixes typelevel#3994

- clarify that observation of cancelation is not guaranteed
- be more specific about difference between requesting cancelation, observing cancelation and a fiber actually being canceled.
- clarify that there is a cancelation boundary before a fiber executes anything
- remove incorrect exceptions to cancelation boundary checks
- move law violation discussion to the bottom
@reardonj reardonj marked this pull request as ready for review July 4, 2026 15:51
@armanbilge armanbilge requested review from armanbilge and Copilot and removed request for Copilot July 7, 2026 20:11
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.

1 participant