pub enum Mode {
Async,
Spawn,
}Expand description
Delivery semantics for an edge.
v0.1 has a single mode. Blocking request/response was superseded by rendezvous joins, which park flights instead of parking processes. The field exists so that a configuration written against the older design fails with a clear message rather than an unknown-field error.
Variants§
Async
Fire-and-forget within the current itinerary. The sender continues immediately.
Spawn
Opens a new itinerary rather than continuing this one.
The receiver gets its own Fuel, its own hop budget and its own workspace. That is what
makes per-item work affordable: a scanner dispatching one reviewer per pull request over
an async edge would put every reviewer on one budget, so the sweep would stop partway
and which pull requests got reviewed would be arbitrary.
It is a route rather than a free-standing capability because the route map is the single source of truth for who may reach whom. A spawn that skipped it would be an unchecked edge — and an agent able to open a fresh, fully funded chain into any peer is a larger hole than one able to send it a message.