done


Description:

[ Version ( since = "0.3.0-alpha" ) ]
public static Future<G> done<G> (Result<G> result)

Creates a future completed with the given result.

Parameters:

result

a result

Returns:

the future