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
def init(_) do | |
PubSub.subscribe(@replication_log_topic, self()) | |
{:ok, %State{ name: self(), clock: 1, eventLog: [] }} | |
end |