View Source Trifle.Stats.Transponder.Behaviour behaviour (Trifle.Stats v2.5.0)

Behaviour for custom transponder implementations.

The built-in transponder surface is expression-based. This behaviour remains available for custom transponder modules registered through the dynamic registry, where argument shape is defined by the generated fluent helper.

Summary

Callbacks

Link to this callback

transform(series, arg1, arg2)

View Source (optional)
@callback transform(series :: map(), arg1 :: term(), arg2 :: term()) :: map()
Link to this callback

transform(series, arg1, arg2, arg3)

View Source (optional)
@callback transform(series :: map(), arg1 :: term(), arg2 :: term(), arg3 :: term()) ::
  map()
Link to this callback

transform(series, arg1, arg2, arg3, arg4)

View Source (optional)
@callback transform(
  series :: map(),
  arg1 :: term(),
  arg2 :: term(),
  arg3 :: term(),
  arg4 :: term()
) :: map()