await

open suspend fun await(scope: MokkerySuspendCallScope): T

Suspends current function call until the awaited result is available.


open suspend fun await(scope: FunctionScope): T

Deprecated

Migrate to new `await` overload. Read `Answer` documentation for migration guide.

DEPRECATED: Use await with MokkerySuspendCallScope instead!