Jennie.Engine behaviour (jennie v0.9.0)

Behaviour for output accumulation, plus the default iolist implementation.

Summary

Types

acc()

@type acc() :: term()

Callbacks

handle_body(acc)

@callback handle_body(acc()) :: binary()

handle_text(acc, iodata)

@callback handle_text(acc(), iodata()) :: acc()

init()

@callback init() :: acc()