interceptStrategyCompleted
fun <TFeature : Any> interceptStrategyCompleted(interceptContext: InterceptContext<TFeature>, handle: suspend (StrategyCompletedContext<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.interceptStrategyCompleted(interceptContext) { event ->
// Handle the completion of the strategy here
}
Content copied to clipboard