# `AshWorkflow.Entities.Emit`
[🔗](https://github.com/team-alembic/ash_workflow/blob/v0.12.0/lib/ash_workflow/entities/emit.ex#L1)

A signal the workflow fires when a workflow event happens, from the module
named by the workflow's `signals` option.

Declared at workflow level it fires on every state change. On a step it
fires when the record enters or leaves that step, and on a transition,
timeout or `every` it fires when that runs.

# `t`

```elixir
@type t() :: %AshWorkflow.Entities.Emit{
  __spark_metadata__: term(),
  fields: [{atom(), atom()}],
  name: atom(),
  on: :enter | :exit | nil,
  values: Keyword.t()
}
```

# `attribute_schema`

# `step_attribute_schema`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
