wait method

Future<void> wait()

Implementation

Future<void> wait() async {
  if (this.isNotEmpty) {
    await this.add(() async {});
  }
}