delay<C, L, R> function

ReaderTaskEither<C, L, R> Function(ReaderTaskEither<C, L, R>) delay<C, L, R>(
  1. Duration d
)

Pause execution of the task by the given Duration.

Implementation

ReaderTaskEither<C, L, R> Function(ReaderTaskEither<C, L, R>) delay<C, L, R>(
  Duration d,
) =>
    (fa) => ReaderTaskEither(fa.call.compose(TE.delay(d)));