FutureOrResult<T, E> typedef

FutureOrResult<T, E> = FutureOr<Result<T, E>>

Represents a FutureOr that is or completes with a Result of the given types T, E.

This is simply a convenience typedef to save a couple characters.

Implementation

typedef FutureOrResult<T, E> = FutureOr<Result<T, E>>;