Function arloader::upload_files_stream
source · [−]pub fn upload_files_stream<'a, IP>(
arweave: &'a Arweave,
paths_iter: IP,
tags: Option<Vec<Tag<Base64>>>,
log_dir: Option<PathBuf>,
last_tx: Option<Base64>,
price_terms: (u64, u64),
buffer: usize
) -> impl Stream<Item = Result<Status, Error>> + 'a where
IP: Iterator<Item = PathBuf> + Send + Sync + 'a,
Expand description
Uploads files matching glob pattern, returning a stream of Status
structs.