pub(crate) async fn process_injected_effect_on<F>(
        &mut self,
        node_id: &R::NodeId,
        create_effects: F,
    ) where
        F: FnOnce(EffectBuilder<R::Event>) -> Effects<R::Event>,
    {
        let runner = self.nodes.get_mut(node_id).unwrap();
        let node_id = runner.reactor().node_id();
        runner
            .process_injected_effects(create_effects)
            .instrument(error_span!("inject", node_id = %node_id))
            .await
    }
/// Create effects and dispatch them on the given node.
///
/// The effects are created via a call to `create_effects` which is itself passed an instance of
/// an `EffectBuilder`.
Create effects and dispatch them on the given node.
The effects are created via a call to `create_effects` which is itself passed an instance of
an `EffectBuilder`.
Create effects and dispatch them on the given node . The effects are created via a call to ` create_effects ` which is itself passed an instance of an ` EffectBuilder ` .
pub(crate) async fn process_injected_effect_on<F>(
        &mut self,
        node_id: &R::NodeId,
        create_effects: F,
    ) where
        F: FnOnce(EffectBuilder<R::Event>) -> Effects<R::Event>,
    {
        let runner = self.nodes.get_mut(node_id).unwrap();
        let node_id = runner.reactor().node_id();
        runner
            .process_injected_effects(create_effects)
            .instrument(error_span!("inject", node_id = %node_id))
            .await
    }
pub ( crate ) async fn process_injected_effect_on < F > ( & mut self , node_id : & R :: NodeId , create_effects : F , ) where F : FnOnce ( EffectBuilder < R :: Event > ) -> Effects < R :: Event > , { let runner = self . nodes . get_mut ( node_id ) . unwrap ( ) ; let node_id = runner . reactor ( ) . node_id ( ) ; runner . process_injected_effects ( create_effects ) . instrument ( error_span ! ( " " node_id node_id ) ) . await }
Create effects and dispatch them on the given node.
Create effects and dispatch them on the given node .
&mut self
node_id
&R::NodeId
create_effects
F
&mut self
node_id
&R::NodeId
create_effects
F