liftA2<S, U> method

NanoRead<U> liftA2<S, U>(
  1. U lifter(
    1. T,
    2. S
    ),
  2. NanoRead<S> other
)

Lifts this NanoRead with the given callback lifter and another NanoRead and returns a new NanoRead instance as a result.

Implementation

NanoRead<U> liftA2<S, U>(U Function(T, S) lifter, NanoRead<S> other) {
  // Create and return an _ApplicativeNanoRead, which handles all logic.
  return _ApplicativeNanoRead(this, other, lifter);
}