Skip to main content

print_stream_record

Function print_stream_record 

Source
pub fn print_stream_record<T: Serialize>(
    schema_id: &'static str,
    command_id: &'static str,
    kind: &'static str,
    payload: T,
) -> Result<()>
Expand description

Emits a single NDJSON record on stdout for a streaming command.