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 <urban.dani@gmail.com>
  • Loading branch information
lenguyenthanh and durban committed Nov 18, 2024
1 parent 5a7c041 commit 7413d4f
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 7413d4f

Please sign in to comment.