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
BatchCompletion
Issues join the batch the caller opened, without naming it; the caller commits the batch and waits on it.
Implemented traits
comptime members
max_pending
comptime max_pending
The largest number of committed batches wait can leave outstanding; 0 when it can only wait for all of them.
Required methods
open
static def open()
Opens a batch for the issues that follow.
commit
static def commit()
Closes the open batch.
wait
static def wait[pending: Int = Int(0)]()
Blocks until at most pending committed batches are outstanding.
Parameters:
- pending (
Int): The batches that may stay outstanding, at mostmax_pending.