ToEitherSingleExtension<R> extension

Extends the Single class with the ability to convert the events to Either values.

on

Methods

toEitherSingle<L>(ErrorMapper<L> errorMapper) Single<Either<L, R>>
Transform data events to Rights and error events to Lefts.