View Source Ash.ProcessHelpers (ash v2.18.2)

Helpers for working with processes and Ash actions.

Summary

Functions

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

Functions

Link to this function

get_context_for_transfer(opts \\ [])

View Source
@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.

Link to this function

transfer_context(map, opts \\ [])

View Source
@spec transfer_context(term(), opts :: Keyword.t()) :: :ok