View Source Bonfire.Ecto.Acts.Work (bonfire v0.3.5-classic-beta.10)

An act that performs queued up work in a transaction.

Work is queued up with calls to add/2 in earlier acts and when run, this act will apply the appropriate actions.

Only runs if there are no epic or changesets errors.

Link to this section Summary

Functions

Records that a particular key contains a changeset for processing.

Link to this section Functions

Records that a particular key contains a changeset for processing.

Use in earlier acts, to schedule work for in-transaction.

If you wish to delete, you must ensure you set the changeset's :action key to :delete.