interceptStrategyFinished
fun <TFeature : Any> interceptStrategyFinished(context: InterceptContext<TFeature>, handle: suspend (StrategyFinishContext<TFeature>) -> Unit)(source)
Sets up an interceptor to handle the completion of a strategy for the given feature.
Parameters
handle
A suspend function that processes the completion of a strategy, accepting the strategy name and its result as parameters.
Example:
pipeline.interceptStrategyFinished(InterceptContext) { result ->
// Handle the completion of the strategy here
}
Content copied to clipboard