Ash.Signals.Info (ash v3.36.0)

Copy Markdown View Source

Introspection for Ash.Signals modules.

Summary

Functions

Returns the signal with the given name, or nil.

Returns all signals declared in the module.

Functions

signal(module, name)

@spec signal(Spark.Dsl.t() | Ash.Signals.t(), atom()) :: Ash.Signals.Signal.t() | nil

Returns the signal with the given name, or nil.

signals(module)

@spec signals(Spark.Dsl.t() | Ash.Signals.t()) :: [Ash.Signals.Signal.t()]

Returns all signals declared in the module.