Nebo15 / sage

A dependency-free tool to run distributed transactions in Elixir, inspired by Sagas pattern.
MIT License
912 stars 40 forks source link

Moves transaction/3 to transaction/4 #40

Closed elijahkim closed 5 years ago

elijahkim commented 5 years ago

Creates a 4th argument called transaction_options that we can foward into the transaction call. These should be the shared_options that are shown here: https://hexdocs.pm/ecto/Ecto.Repo.html#module-shared-options