Skip to content

Commit

Permalink
Update docs/typeclasses/spawn.md
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Urban <[email protected]>
  • Loading branch information
lenguyenthanh and durban authored Nov 16, 2024
1 parent 4740c55 commit c4bbe1b
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, the caller is indefinitely suspended without termination(a.k.a **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 c4bbe1b

Please sign in to comment.