local<R1> method

Reader<R1, A> local<R1>(
  1. R f(
    1. R1 context
    )
)

Change dependency type of Reader<R, A> from R to R1 after calling run.

Implementation

Reader<R1, A> local<R1>(R Function(R1 context) f) => Reader((r) => run(f(r)));