File tree Expand file tree Collapse file tree
temporal-sdk/src/main/java/io/temporal/common/interceptors Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,17 +113,8 @@ <R> GetActivityResultOutput<R> getActivityResult(GetActivityResultInput<R> input
113113 * @param <R> the expected result type
114114 * @return a future that completes with output wrapping the deserialized activity result
115115 */
116- default <R > CompletableFuture <GetActivityResultOutput <R >> getActivityResultAsync (
117- GetActivityResultInput <R > input ) {
118- return CompletableFuture .supplyAsync (
119- () -> {
120- try {
121- return getActivityResult (input );
122- } catch (ActivityFailedException | TimeoutException e ) {
123- throw new java .util .concurrent .CompletionException (e );
124- }
125- });
126- }
116+ <R > CompletableFuture <GetActivityResultOutput <R >> getActivityResultAsync (
117+ GetActivityResultInput <R > input );
127118
128119 @ Experimental
129120 final class StartActivityInput {
You can’t perform that action at this time.
0 commit comments