ask<R> function

ReaderTask<R, R> ask<R>()

Projects a value from the global context in a ReaderTask.

Implementation

ReaderTask<R, R> ask<R>() => ReaderTask((R r) => T.value(r));