abstract class AsyncSeriesLoopHook<F : Function<LoopResult>, FInterceptor : Function<*>> : AsyncBaseHook<F>
Fields
Name | Description |
---|---|
protected open interceptors: LoopInterceptors<F, FInterceptor>
|
Constructors
Name | Description |
---|---|
constructor()
|
Methods
call
protected suspend fun call(invokeTap: suspend (F, HookContext)->LoopResult, invokeInterceptor: suspend (FInterceptor, HookContext)->Unit)
Parameters
Name | Description |
---|---|
invokeTap: suspend (F, HookContext)->LoopResult
|
|
invokeInterceptor: suspend (FInterceptor, HookContext)->Unit
|
ReturnValue
Name | Description |
---|---|
Unit
|
interceptLoop
fun interceptLoop(f: FInterceptor)
Parameters
Name | Description |
---|---|
f: FInterceptor
|
ReturnValue
Name | Description |
---|---|
Unit
|