Interface CoroutineSupport.SuspendOperation<T>

Type Parameters:
T - The result type
Enclosing class:
CoroutineSupport
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CoroutineSupport.SuspendOperation<T>
A suspendable Mongo coroutine operation.
Since:
6.0.0
Author:
graemerocher
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(kotlin.coroutines.Continuation<? super T> continuation)
     
  • Method Details

    • invoke

      Object invoke(kotlin.coroutines.Continuation<? super T> continuation) throws Throwable
      Parameters:
      continuation - The continuation
      Returns:
      The immediate result or COROUTINE_SUSPENDED
      Throws:
      Throwable - if the invocation fails synchronously