toFutureVoid<C, L> function
Future<void> Function(C) Function(ReaderTaskEither<C, L, dynamic> )
toFutureVoid<C, L>(
- void onLeft(
- L value
Convert a ReaderTaskEither into a Future<void>, that runs the side effect on Left.
Implementation
Future<void> Function(C) Function(ReaderTaskEither<C, L, dynamic>)
toFutureVoid<C, L>(
void Function(L value) onLeft,
) =>
(f) => (c) => f(c).p(TE.toFutureVoid(onLeft));