Awaitable

interface Awaitable<out T>

Represents an operation that can be awaited during a mocked function call. Result of this operation is returned by the mocked function call.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun await(scope: FunctionScope): T

Suspends current function call until the awaited result is available.

Link copied to clipboard
abstract fun description(): String

Provides a description of the awaitable action.