View Source Reactor.Dsl.Switch (reactor v0.10.2)

The switch DSL entity struct.

See Reactor.switch.

Summary

Types

@type t() :: %Reactor.Dsl.Switch{
  __identifier__: any(),
  allow_async?: boolean(),
  default: nil | Reactor.Dsl.Switch.Default.t(),
  description: nil | String.t(),
  matches: [Reactor.Dsl.Switch.Match.t()],
  name: atom(),
  on:
    Reactor.Template.Input.t()
    | Reactor.Template.Result.t()
    | Reactor.Template.Value.t()
}