ExESDB.LeaderWorker (ex_esdb v0.1.5)

This module contains the leader's reponsibilities for the cluster.

Summary

Functions

Activates the LeaderWorker for the given store.

Returns a specification to start this module under a supervisor.

Functions

activate(store)

Activates the LeaderWorker for the given store.

This function is called when this node becomes the cluster leader.

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)