capture

suspend fun capture(block: suspend SVC.() -> Any?): CapturedInvocation

Capture a method invocation from the given block.

Return

the captured invocation information

Parameters

block

the suspend lambda that invokes a method on the service proxy