Skip to content

Commit 56ce8cd

Browse files
authored
Rename async method (#804)
* Renamed to Async to be more in line with other AsyncXXX classes * Javadoc fix up
1 parent a9fb38b commit 56ce8cd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/graphql/schema/AsyncDataFetcher.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public class AsyncDataFetcher<T> implements DataFetcher<CompletableFuture<T>> {
2424
* your own {@link Executor} with {@link #async(DataFetcher)} (DataFetcher, Executor)}
2525
*
2626
* @param wrappedDataFetcher the data fetcher to run asynchronously
27+
* @param <T> the type of data
2728
*
2829
* @return a {@link DataFetcher} that will run the wrappedDataFetcher asynchronously
2930
*/
@@ -40,6 +41,7 @@ public static <T> AsyncDataFetcher<T> async(DataFetcher<T> wrappedDataFetcher) {
4041
*
4142
* @param wrappedDataFetcher the data fetcher to run asynchronously
4243
* @param executor the executor to run the asynchronous data fetcher in
44+
* @param <T> the type of data
4345
*
4446
* @return a {@link DataFetcher} that will run the wrappedDataFetcher asynchronously in
4547
* the given {@link Executor}

0 commit comments

Comments
 (0)