This commit is contained in:
Redkale
2020-07-11 20:22:44 +08:00
parent f41e905842
commit 60df140bfd

View File

@@ -97,6 +97,10 @@ public class RetResult<T> {
return CompletableFuture.completedFuture(this);
}
public CompletableFuture toAnyFuture() {
return CompletableFuture.completedFuture(this);
}
public static RetResult success() {
return new RetResult();
}