pub async fn into_instance(self, resource_manager: Arc<ResourceManager>) -> Result<Service> {
        let cfg_reader = self
            .config_reader
            .into_instance(resource_manager.clone())
            .await?;
        let queue_writer = self
            .queue_writer
            .into_instance(resource_manager.clone())
            .await?;
        let queue_reader = self
            .queue_reader
            .into_instance(resource_manager.clone())
            .await?;

        Ok(Box::from(TriggerInterpreter::start(
            queue_reader,
            cfg_reader,
            queue_writer,
        )))
    }
/// Converts the trigger interpreter configuration to a usable service instance.
Converts the trigger interpreter configuration to a usable service instance.
Converts the trigger interpreter configuration to a usable service instance .
pub async fn into_instance(self, resource_manager: Arc<ResourceManager>) -> Result<Service> {
        let cfg_reader = self
            .config_reader
            .into_instance(resource_manager.clone())
            .await?;
        let queue_writer = self
            .queue_writer
            .into_instance(resource_manager.clone())
            .await?;
        let queue_reader = self
            .queue_reader
            .into_instance(resource_manager.clone())
            .await?;
        Ok(Box::from(TriggerInterpreter::start(
            queue_reader,
            cfg_reader,
            queue_writer,
        )))
    }
pub async fn into_instance ( self , resource_manager : Arc < ResourceManager > ) -> Result < Service > { let cfg_reader = self . config_reader . into_instance ( resource_manager . clone ( ) ) . await ? ; let queue_writer = self . queue_writer . into_instance ( resource_manager . clone ( ) ) . await ? ; let queue_reader = self . queue_reader . into_instance ( resource_manager . clone ( ) ) . await ? ; Ok ( Box :: from ( TriggerInterpreter :: start ( queue_reader , cfg_reader , queue_writer , ) ) ) }
Converts the trigger interpreter configuration to a usable service instance.
Converts the trigger interpreter configuration to a usable service instance .
self
resource_manager
Arc<ResourceManager>