AshOban.Igniter (ash_oban v0.4.12)
View SourceCodemods and utilities for resources that use AshOban
.
Summary
Functions
Adds the given code block to the resource's triggers
block if there is no existing trigger with the given name
Adds the given code block to the resource's triggers
block
Returns true if the given resource defines a trigger with the provided name
Functions
Adds the given code block to the resource's triggers
block if there is no existing trigger with the given name
Adds the given code block to the resource's triggers
block
@spec defines_trigger(Igniter.t(), Ash.Resource.t(), atom()) :: {Igniter.t(), true | false}
Returns true if the given resource defines a trigger with the provided name