Skip to content

Instantly share code, notes, and snippets.

Last active September 5, 2018 15:13
What would you like to do?
def init(_) do
PubSub.subscribe(@replication_log_topic, self())
{:ok, %State{ name: self(), clock: 1, eventLog: [] }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment