For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo trait
CounterCompletion
The family's wait instruction is tied to the instruction type, not to a call: it waits until at most a given number of this thread's issues of the family are outstanding.
Implemented traits
comptime members
max_pending
comptime max_pending
The largest number wait can leave outstanding; 0 when the family can only wait for all of its issues.
Required methods
wait
static def wait[pending: Int = Int(0)]()
Blocks until at most pending of the family's issues are outstanding.
Parameters:
- pending (
Int): The issues that may stay outstanding, at mostmax_pending.