fun computeAsync(fn: Function<in K, AsyncResult<out V>>): AsyncResult<K>
(source)
Find a slot and compute a value for it.
fn
- A function to compute the value for a slot.
Return
A result that will complete with the slot for which the value was computed.