Commit 0767e81
committed
docs(common): state the ExecutionJoin contract on the variant itself
The variant said a `JoinError` "can't occur for unjoined tasks, such as
execution shutdown". That is about a handle nobody awaits, but it reads as
ruling out the shutdown-cancelled join this variant now carries. State the
contract instead: only a joined task reports a `JoinError`, a cancelled one
lands here with the `JoinError` reachable as the source, and a panicking one
goes to `from_join_error`'s resume path.1 parent 9f47eeb commit 0767e81
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
136 | 144 | | |
137 | 145 | | |
138 | 146 | | |
| |||
0 commit comments