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