View Source AshOban.Info (ash_oban v0.2.2)

Introspection for AshOban

Summary

Functions

The Api module to use when calling actions on this resource

The Api module to use when calling actions on this resource

oban.scheduled_actions DSL entities

oban.triggers DSL entities

Functions

Link to this function

oban_api(dsl_or_extended)

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

The Api module to use when calling actions on this resource

Link to this function

oban_api!(dsl_or_extended)

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

The Api module to use when calling actions on this resource

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()
]