Jido.Signal.Registry.Subscription (Jido Signal v2.2.1)

View Source

Represents a subscription to signal patterns in the registry.

A subscription maps a signal path pattern to a dispatch configuration, allowing signals matching the pattern to be routed to the specified target.

Summary

Types

t()

A single subscription mapping a path to dispatch configuration

Functions

Returns the Zoi schema for Subscription

Types

t()

@type t() :: %Jido.Signal.Registry.Subscription{
  created_at: nil | nil | any(),
  dispatch: any(),
  id: binary(),
  path: binary()
}

A single subscription mapping a path to dispatch configuration

Functions

schema()

Returns the Zoi schema for Subscription