pub fn spawn(self) -> JoinHandle<Result<TrunkLinkPipelineOutput>> {
        spawn(async move {
            self.progress.set_message("copying file");
            let _ = self.asset.copy(&self.cfg.staging_dist).await?;
            self.progress.set_message("finished copying file");
            Ok(TrunkLinkPipelineOutput::CopyFile(CopyFileOutput(self.id)))
        })
    }
/// Spawn the pipeline for this asset type.
Spawn the pipeline for this asset type.
Spawn the pipeline for this asset type .
pub fn spawn(self) -> JoinHandle<Result<TrunkLinkPipelineOutput>> {
        spawn(async move {
            self.progress.set_message("copying file");
            let _ = self.asset.copy(&self.cfg.staging_dist).await?;
            self.progress.set_message("finished copying file");
            Ok(TrunkLinkPipelineOutput::CopyFile(CopyFileOutput(self.id)))
        })
    }
pub fn spawn ( self ) -> JoinHandle < Result < TrunkLinkPipelineOutput > > { spawn ( async move { self . progress . set_message ( " " ) ; let _ = self . asset . copy ( & self . cfg . staging_dist ) . await ? ; self . progress . set_message ( " " ) ; Ok ( TrunkLinkPipelineOutput :: CopyFile ( CopyFileOutput ( self . id ) ) ) } ) }
Spawn the pipeline for this asset type.
Spawn the pipeline for this asset type .
self
self