untilResultType

Returns a RetryPredicate that checks if the result is not of the specified type T.

This can be used to retry operations until the result is not a certain type. The check is performed using Kotlin's is keyword, so it will return false for objects of the specified type or any of its subclasses.

Return

a RetryPredicate that allows retries when the result is not of type T

Since

1.0.0