View Source Reactor.Info (reactor v0.2.1)

Introspection for the Reactor DSL.

Link to this section Summary

Functions

reactor DSL entities

reactor DSL options

Convert a reactor DSL module into a reactor struct.

Link to this section Functions

Link to this function

reactor(dsl_or_extended)

View Source
@spec reactor(dsl_or_extended :: module() | map()) :: [struct()]

reactor DSL entities

Link to this function

reactor_options(dsl_or_extended)

View Source
@spec reactor_options(dsl_or_extended :: module() | map()) :: %{
  required(atom()) => any()
}

reactor DSL options

Returns a map containing the and any configured or default values.

@spec to_struct(module()) :: {:ok, Reactor.t()} | {:error, any()}

Convert a reactor DSL module into a reactor struct.