Skip to main content

progress_stream

Function progress_stream 

Source
pub fn progress_stream(
    content_type: String,
    content: Value,
    provenance: Vec<String>,
) -> PlexusStream
Expand description

Create a progress stream

Returns a single-item stream containing a progress frame for the call content_type (e.g. “tickets.import”), carrying the method’s progress value content — serde_json::to_value(&p) of its declared P.