eitherWithTimeout

suspend fun <T, E : Throwable> eitherWithTimeout(duration: Duration, error: () -> E, run: suspend () -> Either<T, E>): Either<T, E>(source)