Add Util helper methods to work with Futures
This adds two methods that are helpful when working with Futures. One is a version of postOrRun that can indicate completion by a Future and the other is a simplified version of Guava's Futures.transformAsync (which can't be used as it's in Beta). PiperOrigin-RevId: 461896598 (cherry picked from commit 1df79419)
Showing
with
93 additions
and
0 deletions
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment