spring-framework / org.springframework.scheduling.annotation / AsyncResult / forValue

forValue

open static fun <V : Any> forValue(value: V): ListenableFuture<V>

Create a new async result which exposes the given value from Future#get().

Parameters

value - the value to expose

Since
4.2

See Also
Future#get()