Fitparser.Processor behaviour (fitparser v0.5.0)

Copy Markdown

Behaviour for post-processing decoded FIT records.

A processor receives one %Fitparser.FitDataRecord{} and must return the record to keep. Processors run in the order supplied to the decoder.

Summary

Callbacks

process(t, keyword)

@callback process(
  Fitparser.FitDataRecord.t(),
  keyword()
) :: Fitparser.FitDataRecord.t()