| ... | ... | @@ -1250,7 +1250,7 @@ pub fn Select(comptime U: type) type { |
| 1250 | 1250 | /// already been called and completed, or it has successfully been |
| 1251 | 1251 | /// assigned a unit of concurrency. |
| 1252 | 1252 | /// |
| 1253 | | /// After this is called, `wait` or `cancel` must be called before the |
| 1253 | /// After this is called, `await` or `cancel` must be called before the |
| 1254 | 1254 | /// select is deinitialized. |
| 1255 | 1255 | /// |
| 1256 | 1256 | /// Threadsafe. |
| ... | ... | @@ -1293,12 +1293,12 @@ pub fn Select(comptime U: type) type { |
| 1293 | 1293 | }; |
| 1294 | 1294 | } |
| 1295 | 1295 | |
| 1296 | | /// Equivalent to `wait` but requests cancelation on all remaining |
| 1296 | /// Equivalent to `await` but requests cancelation on all remaining |
| 1297 | 1297 | /// tasks owned by the select. |
| 1298 | 1298 | /// |
| 1299 | 1299 | /// For a description of cancelation and cancelation points, see `Future.cancel`. |
| 1300 | 1300 | /// |
| 1301 | | /// It is illegal to call `wait` after this. |
| 1301 | /// It is illegal to call `await` after this. |
| 1302 | 1302 | /// |
| 1303 | 1303 | /// Idempotent. Not threadsafe. |
| 1304 | 1304 | pub fn cancel(s: *S) void { |