| ... | ... | @@ -580,6 +580,9 @@ pub const VTable = struct { |
| 580 | 580 | /// If it returns `null` it means `result` has been already populated and |
| 581 | 581 | /// `await` will be a no-op. |
| 582 | 582 | /// |
| 583 | /// When this function returns non-null, the implementation guarantees that |
| 584 | /// a unit of concurrency has been assigned to the returned task. |
| 585 | /// |
| 583 | 586 | /// Thread-safe. |
| 584 | 587 | async: *const fn ( |
| 585 | 588 | /// Corresponds to `Io.userdata`. |
| ... | ... | @@ -1024,6 +1027,10 @@ pub const Group = struct { |
| 1024 | 1027 | /// |
| 1025 | 1028 | /// `function` *may* be called immediately, before `async` returns. |
| 1026 | 1029 | /// |
| 1030 | /// When this function returns, it is guaranteed that `function` has |
| 1031 | /// already been called and completed, or it has successfully been assigned |
| 1032 | /// a unit of concurrency. |
| 1033 | /// |
| 1027 | 1034 | /// After this is called, `wait` or `cancel` must be called before the |
| 1028 | 1035 | /// group is deinitialized. |
| 1029 | 1036 | /// |
| ... | ... | @@ -1094,6 +1101,10 @@ pub fn Select(comptime U: type) type { |
| 1094 | 1101 | /// |
| 1095 | 1102 | /// `function` *may* be called immediately, before `async` returns. |
| 1096 | 1103 | /// |
| 1104 | /// When this function returns, it is guaranteed that `function` has |
| 1105 | /// already been called and completed, or it has successfully been |
| 1106 | /// assigned a unit of concurrency. |
| 1107 | /// |
| 1097 | 1108 | /// After this is called, `wait` or `cancel` must be called before the |
| 1098 | 1109 | /// select is deinitialized. |
| 1099 | 1110 | /// |
| ... | ... | @@ -1524,8 +1535,11 @@ pub fn Queue(Elem: type) type { |
| 1524 | 1535 | /// not guaranteed to be available until `await` is called. |
| 1525 | 1536 | /// |
| 1526 | 1537 | /// `function` *may* be called immediately, before `async` returns. This has |
| 1527 | | /// weaker guarantees than `concurrent`, making more portable and |
| 1528 | | /// reusable. |
| 1538 | /// weaker guarantees than `concurrent`, making more portable and reusable. |
| 1539 | /// |
| 1540 | /// When this function returns, it is guaranteed that `function` has already |
| 1541 | /// been called and completed, or it has successfully been assigned a unit of |
| 1542 | /// concurrency. |
| 1529 | 1543 | /// |
| 1530 | 1544 | /// See also: |
| 1531 | 1545 | /// * `Group` |