Skip to content

Commit

Permalink
Align to interface tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-weswit committed Jun 6, 2023
1 parent 3f1c48d commit e3e440e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.io.File;
Expand Down Expand Up @@ -65,7 +64,7 @@ public boolean wantsTablesNotification(java.lang.String user) {
private static ExecutorService messageProcessingPool = Executors.newCachedThreadPool();

@Override
public CompletionStage<String> notifyUserMessage(String user, String session, String message) throws CreditsException, NotificationException {
public CompletableFuture<String> notifyUserMessage(String user, String session, String message) throws CreditsException, NotificationException {

//NOTE: since the order processing is potentially blocking (in a real scenario), we have
//configured a dedicated ExecutorService. Moreover, to provide backpressure to the Server
Expand Down

0 comments on commit e3e440e

Please sign in to comment.