wait method

AsyncEither<L, R> wait()

Implementation

AsyncEither<L, R> wait() => fold(
      (FutureOr<L> v) async => Either.left(await v),
      (FutureOr<R> v) async => Either.right(await v),
    );