public static <T, X extends Throwable> Try<T, X> fromIterable(final Iterable<T> iterable, T alt) {
        if(iterable instanceof Try){
            return (Try)iterable;
        }
        return new Try<>(LazyEither.fromIterable(iterable,alt), new Class[0]);
    }
public static < T , X extends Throwable > Try < T , X > fromIterable ( final Iterable < T > iterable , T alt ) { if ( iterable instanceof Try ) { return ( Try ) iterable ; } return new Try < > ( LazyEither . fromIterable ( iterable , alt ) , new Class [ 0 ] ) ; }
Construct a Try  that contains a single value extracted from the supplied Iterable

<pre>
{@code
ReactiveSeq<Integer> stream =  ReactiveSeq.of(1,2,3);

Try<Integer,Throwable> recover = Try.fromIterable(stream);

Try[1]

}
</pre>

@param iterable Iterable to extract value from
@return Try populated with first value from Iterable