Skip to main content

Module bus

Module bus 

Source
Expand description

LaneBus — typed read-only bus of Flow outputs, scoped to one tick.

Flows publish typed Views into the bus during the Substrate Pass; lanes consume them during the CLAD descent. Outside of lane execution the bus does not exist (it is constructed by the scheduler at frame start and dropped at frame end).

§Visibility contract

  • LaneBus::publish is pub(crate) (or used through the scheduler / a Flow runner inside khora-core/khora-control). Lanes cannot publish.
  • LaneBus::get is the only method exposed to lane code.

Structs§

LaneBus
Read-only typed bus carrying Flow outputs to lanes for one tick.