ResultUnaryAsync<T, S> typedef

ResultUnaryAsync<T, S> = Unary<FutureOr<ValueResult<T>>, S>

an unary async function that returns a Result ! differs from UnaryAsync ad it returns FutureOr instead of Future

Implementation

typedef ResultUnaryAsync<T, S> = Unary<FutureOr<ValueResult<T>>, S>;