Package 

Class CoroutinesExtensionsKt

    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> <ERROR CLASS> suspendCoroutineWithTimeout(Long timeout, Function1<CancellableContinuation<T>, Unit> block)
      • Methods inherited from class java.lang.Object

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

      • suspendCoroutineWithTimeout

         final static <T extends Any> <ERROR CLASS> suspendCoroutineWithTimeout(Long timeout, Function1<CancellableContinuation<T>, Unit> block)
        Parameters:
        timeout - in milliseconds