Skip to main content

transform_callback

Function transform_callback 

Source
pub fn transform_callback(recv: &Value, args: &[Value]) -> Result<(), String>
Expand description

The callback a transform implementation invokes: cb(err, chunk). A nullish chunk contributes nothing, matching push(null)-style suppression.