# `Ash.ProcessHelpers`
[🔗](https://github.com/ash-project/ash/blob/v3.24.7/lib/ash/process_helpers.ex#L5)

Helpers for working with processes and Ash actions.

# `async`

Creates a task that will properly transfer the ash context to the new process

# `get_context_for_transfer`

```elixir
@spec get_context_for_transfer(opts :: Keyword.t()) :: term()
```

Gets all of the ash context so it can be set into a new process.

Use `transfer_context/1` in the new process to set the context.

# `task_with_timeout`

Creates a task that will properly transfer the ash context to the new process, and timeout if it takes longer than the given timeout

# `transfer_context`

```elixir
@spec transfer_context(term(), opts :: Keyword.t()) :: :ok
```

---

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