Expand description
Bounded callback seams (spec 042, 3.12, I-3).
Every remote context and sink client declares an in-flight limit and a queue capacity, each 1 to 65,536 with no default. A call that finds the queue full is never enqueued: it is refused at once and counted. A call that waits for an in-flight slot waits no longer than its own deadline. A response that arrives after its caller stopped waiting is discarded and counted as late. Memory is bounded by the two limits, because every admitted call holds a slot until its exchange ends.
Structs§
- Queue
Deadline - The call’s deadline passed while it waited for an in-flight slot.
- Queue
Full - The queue was full; the call was not enqueued.
- Running
- An admitted call holding an in-flight slot.
- Seam
Counters - A seam’s counters, for metrics (3.12.4).
- Seam
Queue - One seam’s bounded queue. Clones share the queue.
- Slot
- An admitted call, queued until
Slot::startreturns.
Constants§
- MAX_
SEAM_ LIMIT - The greatest in-flight limit or queue capacity (3.12.1).
- QUEUE_
FULL - The failure reason a full queue reports (3.12.1).