delay<L, R> function

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

Pause execution of the task by the given Duration.

Implementation

TaskEither<L, R> Function(TaskEither<L, R>) delay<L, R>(Duration d) =>
    (fa) => TaskEither(fa.p(task.delay(d)));