flatMap


Description:

public Future<U> flatMap<U> (owned MapFunc<T,Future<U>> fn)

Chains another asynchronous computation.

Parameters:

fn

transform function that returns another future.

Returns:

chained future.