ToEitherSingleExtension<R> extension
Extends the Single class with the ability to convert the events to Either
values.
- on
-
- Single<
R>
- Single<
Methods
-
toEitherSingle<
L> (ErrorMapper< L> errorMapper) → Single<Either< L, R> > -
Transform data events to
Right
s and error events toLeft
s.