Skip to main content

send

Function send 

Source
pub fn send(root: &Path, endpoint: Option<&str>, batch: &Batch) -> SendOutcome
Expand description

Serialize and deliver one batch.

Network delivery holds the same non-blocking privacy lock as appends and wipe. A wipe waits for an already-started POST to finish; a POST that races a held or completed wipe is dropped before reaching the wire. Therefore no delivery can remain in flight after persistent opt-out returns.