Package 

Class SharedCalls

  • All Implemented Interfaces:
    kotlin.coroutines.CoroutineContext , kotlin.coroutines.CoroutineContext.Element

    
    public final class SharedCalls
     implements CoroutineContext.Element
                        

    The CoroutineContext.Element which holds ongoing calls until those get finished.

    The purpose of shared calls is to stop side effects for the same call executing multiple times.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class SharedCalls.Key
    • Constructor Summary

      Constructors 
      Constructor Description
      SharedCalls()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      CoroutineContext.Key<SharedCalls> getKey() A key of SharedCalls coroutine context element.
      • Methods inherited from class kotlin.coroutines.CoroutineContext.Element

        fold, get, minusKey
      • Methods inherited from class kotlin.coroutines.CoroutineContext

        plus
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait