delay method
- Duration duration
Creates a TaskEither that will complete after a time delay specified by a Duration.
Implementation
TaskEither<L, R> delay(Duration duration) =>
TaskEither(() => Future.delayed(duration, run));
Creates a TaskEither that will complete after a time delay specified by a Duration.
TaskEither<L, R> delay(Duration duration) =>
TaskEither(() => Future.delayed(duration, run));