OrchidIntervention (orchid_intervention v0.1.3)

Copy Markdown View Source

Documentation for OrchidIntervention.

Summary

Types

intervention_spec()

@type intervention_spec() :: {intervention_type(), payload()}

intervention_type()

@type intervention_type() :: :input | :override | module()

payload()

@type payload() :: (-> Orchid.Param.t()) | mfa() | Orchid.Param.t() | term()

t()

@type t() :: %{required(Orchid.Step.io_key()) => intervention_spec()}

Functions

filter_by_type(interventions, type)

@spec filter_by_type(t(), intervention_type()) :: t()

get(interventions, key)

@spec get(t(), Orchid.Step.io_key()) :: intervention_spec() | nil

operon_type?(arg1)

@spec operon_type?(intervention_type()) :: boolean()