Spectre.Input.Pipeline.Spec (Spectre v0.3.0)

Copy Markdown View Source

Initialized input plug declaration.

Specs store the plug module and initialized state separately so plug initialization happens once when possible, while run/3 stays focused on passing the input through the pipeline.

Summary

Types

t()

@type t() :: %Spectre.Input.Pipeline.Spec{module: module(), state: term()}