artificial_delay

Last updated:

0 purchases

artificial_delay Image
artificial_delay Images
Add to Cart

Description:

artificial delay

artificial_delay #
A dart package to simulate artificial delays from volatile data providers.
Features #

Extremely tiny package
Portable, no external packages necessary

Getting started #
Simply add artificial_delay to your pubspec.yaml using dart pub add artificial_delay.
Usage #
import 'package:artificial_delay/artificial_delay.dart';

final artificialDelay = ArtificialDelay(
minDelay: const Duration(milliseconds: 100),
maxDelay: const Duration(seconds: 1),
);

await artificialDelay.trigger();
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.