martinzink commented on code in PR #2186:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2186#discussion_r3339459559
##########
minifi_rust/minifi_native/src/api/processor_wrappers/complex_processor.rs:
##########
@@ -0,0 +1,94 @@
+use crate::api::processor::{AdvancedProcessorFeatures, CalculateMetrics};
+use crate::api::raw_processor::{MultiThreadedTrigger, SingleThreadedTrigger};
+use crate::{
+ ComponentIdentifier, Concurrent, Exclusive, Logger, MinifiError,
OnTriggerResult,
+ ProcessContext, ProcessSession, Processor, ProcessorDefinition, Schedule,
+};
+
+pub trait MutTrigger {
Review Comment:
The single/multithreaded part is divided, so the user has to decide
beforehand if the processor is gonna be single threaded then they can implement
MutTrigger with &mut trigger or they can implement Trigger (where &self is not
mut)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]