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

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(),
  matches: [Reactor.Dsl.Switch.Match.t()],
  name: atom(),
  on:
    Reactor.Template.Input.t()
    | Reactor.Template.Result.t()
    | Reactor.Template.Value.t()
}