Package 

Class CallKt

    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> Call<T> retry(Call<T> $self, CoroutineScope scope, RetryPolicy retryPolicy) Wraps the original call with RetryCall wrapper.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • retry

         final static <T extends Any> Call<T> retry(Call<T> $self, CoroutineScope scope, RetryPolicy retryPolicy)

        Wraps the original call with RetryCall wrapper. Allows to retry the original call based on io.getstream.chat.android.client.utils.retry.RetryPolicy

        Parameters:
        scope - Coroutine scope where the call should be run.
        retryPolicy - A policy used for retrying the call.