View Source AshOban.Info (ash_oban v0.2.3)

Introspection for AshOban

Summary

Functions

The Domain to use when calling actions on this resource. Defaults to the resource's domain.

The Domain to use when calling actions on this resource. Defaults to the resource's domain.

oban.scheduled_actions DSL entities

oban.triggers DSL entities

Functions

Link to this function

oban_domain(dsl_or_extended)

View Source
@spec oban_domain(dsl_or_extended :: module() | map()) :: {:ok, module()} | :error

The Domain to use when calling actions on this resource. Defaults to the resource's domain.

Link to this function

oban_domain!(dsl_or_extended)

View Source
@spec oban_domain!(dsl_or_extended :: module() | map()) :: module() | no_return()

The Domain to use when calling actions on this resource. Defaults to the resource's domain.

Link to this function

oban_options(dsl_or_extended)

View Source
@spec oban_options(dsl_or_extended :: module() | map()) :: %{
  required(atom()) => any()
}

oban DSL options

Returns a map containing the and any configured or default values.

Link to this function

oban_scheduled_action(resource, name)

View Source
@spec oban_scheduled_action(Ash.Resource.t() | Spark.Dsl.t(), atom()) ::
  nil | AshOban.Schedule.t()
Link to this function

oban_scheduled_actions(dsl_or_extended)

View Source
@spec oban_scheduled_actions(dsl_or_extended :: module() | map()) :: [struct()]

oban.scheduled_actions DSL entities

Link to this function

oban_trigger(resource, name)

View Source
@spec oban_trigger(Ash.Resource.t() | Spark.Dsl.t(), atom()) ::
  nil | AshOban.Trigger.t()
Link to this function

oban_triggers(dsl_or_extended)

View Source
@spec oban_triggers(dsl_or_extended :: module() | map()) :: [struct()]

oban.triggers DSL entities

Link to this function

oban_triggers_and_scheduled_actions(resource)

View Source
@spec oban_triggers_and_scheduled_actions(Ash.Resource.t() | Spark.Dsl.t()) :: [
  AshOban.Trigger.t() | AshOban.Schedule.t()
]