AshDispatch.Dsl.Sections (AshDispatch v0.5.1)

View Source

Defines the DSL sections for AshDispatch events.

This module contains the Spark DSL section and entity definitions for:

  • dispatch - Main event configuration
  • channels - Channel definitions (transport + audience + timing)
  • content - Simple content definitions (subject, title, etc.)
  • metadata - Event metadata (category, notification_type, etc.)
  • counters - Counter broadcasting configuration

Summary

Functions

The channel entity definition.

The channels section for defining delivery channels.

The content section for simple content definitions.

The counter_broadcast entity for specifying counter broadcasts.

The counters section for counter broadcasting configuration.

The main dispatch section that contains all event configuration.

The metadata section for event metadata.

The recipient section for configuring recipient field extraction.

Creates a transport-specific recipient configuration section.

Functions

channel_entity()

The channel entity definition.

channels_section()

The channels section for defining delivery channels.

content_section()

The content section for simple content definitions.

counter_broadcast_entity()

The counter_broadcast entity for specifying counter broadcasts.

counters_section()

The counters section for counter broadcasting configuration.

dispatch_section()

The main dispatch section that contains all event configuration.

metadata_section()

The metadata section for event metadata.

recipient_section()

The recipient section for configuring recipient field extraction.

recipient_transport_section(transport)

Creates a transport-specific recipient configuration section.