Skip to content

Commit 41b4850

Browse files
committed
feat: return CompletableFuture instead of only Future
1 parent 71447cb commit 41b4850

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/src/main/java/net/laprun/sustainability/power/nuprocess/OutputRecordingProcessHandler.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import java.io.InputStream;
55
import java.nio.ByteBuffer;
66
import java.util.concurrent.CompletableFuture;
7-
import java.util.concurrent.Future;
87

98
import io.quarkus.logging.Log;
109

@@ -40,7 +39,7 @@ public void onStdout(ByteBuffer buffer, boolean closed) {
4039
}
4140
}
4241

43-
public Future<InputStream> getInputStream() {
42+
public CompletableFuture<InputStream> getInputStream() {
4443
return output;
4544
}
4645
}

0 commit comments

Comments
 (0)