Future<Tuple<A, B>> awaitBoth<A, B>(FutureOr<A> a, FutureOr<B> b) async { return Tuple(await Future.value(a), await Future.value(b)); }