barrel_p2p_map_sup (barrel_p2p v0.1.0)

View Source

Summary

Functions

Start (or return the existing) named map. Idempotent.

Stop the named map on this node.

Names of the maps running on this node.

Functions

init(_)

start_link()

start_map(Name, Opts)

-spec start_map(atom(), barrel_p2p_map:opts()) -> {ok, pid()} | {error, term()}.

Start (or return the existing) named map. Idempotent.

stop_map(Name)

-spec stop_map(atom()) -> ok.

Stop the named map on this node.

which_maps()

-spec which_maps() -> [atom()].

Names of the maps running on this node.