quadDelayed function

Future<void> quadDelayed(
  1. FutureOr callOne(),
  2. FutureOr callTwo(),
  3. FutureOr callThree(),
  4. FutureOr callFour(), [
  5. int t1 = 0,
  6. int t2 = 0,
  7. int t3 = 0,
  8. int t4 = 0,
])

Implementation

Future<void> quadDelayed(
  final FutureOr<dynamic> Function() callOne,
  final FutureOr<dynamic> Function() callTwo,
  final FutureOr<dynamic> Function() callThree,
  final FutureOr<dynamic> Function() callFour, [
    final int t1 = 0,
    final int t2 = 0,
    final int t3 = 0,
    final int t4 = 0
  ]
) async {
  await delayed(callOne, t1);
  await delayed(callTwo, t2);
  await delayed(callThree, t3);
  await delayed(callFour, t4);
}