Created
December 20, 2018 14:30
-
-
Save anagromataf/785586ec9655132d3ff68be0f63f198c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Store do | |
@callback prepare(ref(), revision(), module(), transaction()) :: | |
{:ok, transaction_ref()} | |
| on_error() | |
@callback commit(ref(), transaction_ref(), state()) :: | |
{:ok, revision()} | |
| on_error() | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment