abstract class SyncLoopHook<F : Function<LoopResult>, FInterceptor : Function<*>> : SyncBaseHook<F>

Fields

Name Description
protected open interceptors: LoopInterceptors<F, FInterceptor>

Constructors

Name Description
constructor()

Methods

call

protected fun call(invokeTap: (F, HookContext)->LoopResult, invokeInterceptor: (FInterceptor, HookContext)->Unit)

Parameters

Name Description
invokeTap: (F, HookContext)->LoopResult
invokeInterceptor: (FInterceptor, HookContext)->Unit

ReturnValue

Name Description
Unit

interceptLoop

fun interceptLoop(f: FInterceptor)

Parameters

Name Description
f: FInterceptor

ReturnValue

Name Description
Unit