Skip to content

Commit

Permalink
Merge pull request #4160 from lenguyenthanh/patch-1
Browse files Browse the repository at this point in the history
Fix joinWithNever docs
  • Loading branch information
durban authored Nov 18, 2024
2 parents 921c69c + 7413d4f commit 98b175b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/typeclasses/spawn.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ In English, the semantics of this are as follows:

- If the child fiber completed successfully, produce its result
- If it errored, re-raise the error within the current fiber
- If it canceled, attempt to self-cancel, and if the self-cancelation fails, **deadlock**
- If it canceled, the caller is indefinitely suspended without termination (a.k.a. **deadlock**)

Sometimes this is an appropriate semantic, and the cautiously-verbose `joinWithNever` function implements it for you. It is worth noting that this semantic was the *default* in Cats Effect 2 (and in fact, no other semantic was possible).

Expand Down

0 comments on commit 98b175b

Please sign in to comment.