Skip to content

Instantly share code, notes, and snippets.

@deque-blog

deque-blog/on_node_pop.ex

Last active Sep 5, 2018
Embed
What would you like to do?
def init(_) do
PubSub.subscribe(@replication_log_topic, self())
{:ok, %State{ name: self(), clock: 1, eventLog: [] }}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.