Function async_fetcher::concatenator
source · [−]pub async fn concatenator<P: 'static>(
dest: File,
parts: P,
_path: Arc<Path>,
shutdown: Shutdown
) -> Result<(), Error> where
P: Stream<Item = Result<(Arc<Path>, File), Error>> + Send + Unpin,
Expand description
Accepts a stream of future file parts
and concatenates them into the dest
file.