arpadboda commented on code in PR #9182:
URL: https://github.com/apache/nifi/pull/9182#discussion_r1720020753


##########
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:
   To me it seems like a straight forward _extension_ of the api, which 
provides an alternative name for a given function without breaking anything. 
What better alternatives do you see? 



-- 
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]

Reply via email to