delayed_future library

A Dart extension that allows to delay your Futures.

Example

final apiCall = await fetchMyData().delayed();

Classes

DelayedFuture
Config of delayed_future. Set duration to define the default delay duration.

Extensions

DelayedFunctionExtension on void Function()
DelayedFutureExtension on Future<T>
DelayedFutureFunctionExtension on Future<T> Function()