Struct Graph Event Producer
pub struct GraphEventProducer { /* private fields */ }Expand description
Unique producer, prepared off callbacks. Each publication is atomic as one complete fixed-slot batch; full/invalid input publishes no prefix. Use for either control input or worker output with an explicit consumer policy.
Implementations§
§impl GraphEventProducer
impl GraphEventProducer
pub fn try_publish(
&mut self,
tag: u64,
transport: Transport,
events: &[Event],
) -> Result<(), GraphEventQueueError>
pub fn try_publish( &mut self, tag: u64, transport: Transport, events: &[Event], ) -> Result<(), GraphEventQueueError>
Preserve order, offsets and every validated MIDI/UMP word. Normalized notes/parameter values receive the foundation’s value checks. Transport remains opaque; the graph/native profile applies its context validation.