message: Add effect builder to generated code
diff: @@ -254,6 +254,8 @@ pub(crate) fn generate_reactor_impl(def: &ReactorDefinition) -> TokenStream {
  ) -> Result<(Self, crate::reactor::Effects<Self::Event>), Self::Error> {
  let mut all_effects = crate::reactor::Effects::new();
  + let effect_builder = crate::effect::EffectBuilder::new(event_queue);
  +
  // Instantiate each component.
  #(#component_instantiations)*
  @@ -262,6 +264,9 @@ pub(crate) fn generate_reactor_impl(def: &ReactorDefinition) -> TokenStream {
  #(#component_fields,)*
  };
  + // To avoid unused warnings.
  + drop(effect_builder);
  +
  Ok((reactor, all_effects))
  }
  }
  