TransformInterceptor

A functional interface designed to intercept and transform data of type DataT during processing, using a provided context of type ContextT.

Typically used in scenarios where a processing pipeline requires customizable transformations of data.

This interface is designed for interoperability with Java, indicated by the @JavaAPI annotation.

Parameters

ContextT

The type of the context passed to the transform function.

DataT

The type of the data being transformed.

Functions

Link copied to clipboard
abstract fun transform(contextT: ContextT, data: DataT): DataT

Processes and transforms the provided data within the given context.