View Source Ash.Reactor.Dsl.Destroy (ash v3.4.23)

The destroy entity for the Ash.Reactor reactor extension.

Summary

Types

@type t() :: %Ash.Reactor.Dsl.Destroy{
  __identifier__: any(),
  action: atom(),
  action_step?: true,
  actor: nil | Ash.Reactor.Dsl.Actor.t(),
  async?: boolean(),
  authorize?: boolean() | nil,
  context: nil | Ash.Reactor.Dsl.Context.t(),
  description: String.t() | nil,
  domain: Ash.Domain.t(),
  initial: Reactor.Template.t(),
  inputs: [Ash.Reactor.Dsl.Inputs.t()],
  load: nil | Ash.Reactor.Dsl.ActionLoad.t(),
  name: atom(),
  resource: module(),
  return_destroyed?: boolean(),
  tenant: nil | Ash.Reactor.Dsl.Tenant.t(),
  transform: term(),
  type: :destroy,
  undo: :always | :never | :outside_transaction,
  undo_action: atom(),
  wait_for: [Reactor.Dsl.WaitFor.t()]
}