It is similar to Guava's AsyncFunction, redeclared so that Guava can be shaded.
Type Parameters
Name
Description
I
O
Methods
apply(I input)
publicabstractApiFuture<O>apply(Iinput)
Returns an output Future to use in place of the given input. The output Future need not be
done, making AsyncFunction suitable for asynchronous derivations.
Throwing an exception from this method is equivalent to returning a failing Future.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eApiAsyncFunction\u003c/code\u003e documentation is 2.46.1, as part of the larger version 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThis document provides a comprehensive list of \u003ccode\u003eApiAsyncFunction\u003c/code\u003e versions, ranging from 2.46.1 down to 2.1.2.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiAsyncFunction\u003c/code\u003e is an interface used to transform a value, potentially asynchronously, and it is functionally similar to Guava's \u003ccode\u003eAsyncFunction\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe interface includes an \u003ccode\u003eapply\u003c/code\u003e method that returns an \u003ccode\u003eApiFuture\u003c/code\u003e output based on a given input, supporting asynchronous operations and the possibility of exceptions.\u003c/p\u003e\n"]]],[],null,[]]