#[unsafe(no_mangle)]pub unsafe extern "C" fn dora_send_output(
context: *mut c_void,
id_ptr: *const u8,
id_len: usize,
data_ptr: *const u8,
data_len: usize,
) -> isizeExpand description
Sends the given output to subscribed dora nodes/operators.
The id_ptr and id_len fields must be the start pointer and length of an
UTF8-encoded string. The ID string must correspond to one of the node’s
outputs specified in the dataflow YAML file.
The data_ptr and data_len fields must be the start pointer and length
a byte array. The dora API sends this data as-is, without any processing.
§Safety
- The
id_ptrandid_lenfields must be the start pointer and length of an UTF8-encoded string. - The
data_ptranddata_lenfields must be the start pointer and length a byte array.