Zakelly commented on code in PR #25996:
URL: https://github.com/apache/flink/pull/25996#discussion_r1919492172
##########
flink-core/src/main/java/org/apache/flink/core/state/StateFutureUtils.java:
##########
@@ -34,6 +35,14 @@
*/
@Experimental
public class StateFutureUtils {
+ /**
+ * Returns a function that always returns a completed future that does
nothing and return null.
+ */
+ public static <T>
+ FunctionWithException<T, StateFuture<T>, Exception>
createVoidReturnFunction() {
Review Comment:
```suggestion
FunctionWithException<T, StateFuture<Void>, Exception>
returnVoidFuture() {
```
--
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]