Skip to main content

emit_events_fanout_do

Function emit_events_fanout_do 

Source
pub fn emit_events_fanout_do(context: &str, events: &EventPlan) -> TsProgram
Expand description

context: the publishing context’s qualified name (the header comment, and I2’s signing identity for every delivery). The routes are its own declared event type names, each with its subscribers, from events (EventPlan::published_by): already in discover_event_subscribers’ order, so the generated table (and so the fan-out order for a multi-subscriber event) is deterministic build to build.