pub fn plugin<F>(f: F) -> FlowStagewhere F: Fn(&mut Emit<'_>, Option<FlowValue>) -> Result<Option<FlowValue>> + Send + Sync + 'static,