mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
jb v8 debug protocol: evaluate
This commit is contained in:
+2
-2
@@ -7,8 +7,8 @@ final class NestedCommandCallbackWithResponse<SUCCESS_RESPONSE, RESULT, MAIN_RES
|
||||
extends CommandCallbackWithResponseBase<SUCCESS_RESPONSE, AsyncResult<MAIN_RESULT>, RESULT, ERROR_DETAILS> {
|
||||
private final PairConsumer<RESULT, AsyncResult<MAIN_RESULT>> consumer;
|
||||
|
||||
public NestedCommandCallbackWithResponse(AsyncResult<MAIN_RESULT> mainAsyncResult, String methodName, PairConsumer<RESULT, AsyncResult<MAIN_RESULT>> consumer) {
|
||||
super(mainAsyncResult, methodName, null);
|
||||
public NestedCommandCallbackWithResponse(AsyncResult<MAIN_RESULT> result, String methodName, PairConsumer<RESULT, AsyncResult<MAIN_RESULT>> consumer) {
|
||||
super(result, methodName, null);
|
||||
|
||||
this.consumer = consumer;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package org.jetbrains.rpc;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface ResultReader<RESPONSE> {
|
||||
<RESULT> RESULT readResult(String readMethodName, RESPONSE successResponse);
|
||||
<RESULT> RESULT readResult(@NotNull String readMethodName, @NotNull RESPONSE successResponse);
|
||||
}
|
||||
Reference in New Issue
Block a user