joewitt commented on code in PR #9182:
URL: https://github.com/apache/nifi/pull/9182#discussion_r1720037375
##########
nifi-api/src/main/java/org/apache/nifi/processor/ProcessContext.java:
##########
@@ -73,6 +73,15 @@ public interface ProcessContext extends PropertyContext,
ClusterContext {
*/
void yield();
+ /**
+ * <p>
+ * An alternative name for the yield() method so that it can be called
from Python.
+ * </p>
+ */
+ default void yieldResources() {
Review Comment:
It does not extend the API. It creates a method with a slightly different
name then calls the other.
I am not presenting alternatives but seeking alternatives. My role in this
is as a reviewer considering whether this change is warranted and my assertion
at this point is that we should seek alternatives.
--
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]