Ash.DataLayer.transaction

You're seeing just the function transaction, go back to Ash.DataLayer module for more information.
Link to this function

transaction(resource, func, timeout)

View Source

Specs

transaction(Ash.Resource.t(), (() -> term()), nil | pos_integer()) :: term()

Wraps the execution of the function in a transaction with the resource's data_layer