mapToResult

open fun <V2> mapToResult(filter: (V) -> Result<V2, E>): Future<V2, E>

Transform the result to another type.