create Async Fun Proxy
open override fun <ReturnValue, SideEffect : Function<ReturnValue>> createAsyncFunProxy(id: String, collector: KMockContract.Collector, ignorableForVerification: Boolean, freeze: Boolean): KMockContract.AsyncFunProxy<ReturnValue, SideEffect>
Instantiates a AsyncFunProxy.
See also
Parameters
Return Value
the return value of the Proxy.
Side Effect
the function signature.
id
a unique identifier for this Proxy.
collector
a optional Collector for AssertionChains. Default is a NoopCollector.
ignorable For Verification
marks the Proxy as ignorable for verification. Default is false and is intended for internal usage only.
freeze
boolean which indicates if freezing can be used or not. Default is true. Default is null.