Skip to content

Commit

Permalink
Fix joinWithNever docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh authored Oct 28, 2024
1 parent ecf93db commit 4740c55
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 4740c55

Please sign in to comment.