switchMap<ENV, A, B> function
ReaderStream<ENV, B> Function(ReaderStream<ENV, A> )
switchMap<ENV, A, B>(
- ReaderStream<
ENV, B> f(- A
Implementation
ReaderStream<ENV, B> Function(ReaderStream<ENV, A>) switchMap<ENV, A, B>(
ReaderStream<ENV, B> Function(A) f,
) =>
(ra) => (r) => ra(r).switchMap(
(a) => f(a)(r),
);