multiverses v0.7.0 Multiverses.Registry View Source
This module is intended to be a drop-in replacement for Registry
, but
not all functionality is implemented.
If universes are active, keys in the Registry will be {universe, key}
instead of the normal key
. A convenience via/2
macro has been
provided, which will perform this substitution correctly.
Unimplemented functionality:
Link to this section Summary
Functions
Registers the calling process with the Registry. Works as Registry.register/3
does.
generates the correct via term to call this registry.
Link to this section Functions
See Registry.match/3
.
See Registry.match/4
.
See Registry.meta/2
.
See Registry.put_meta/3
.
Registers the calling process with the Registry. Works as Registry.register/3
does.
See Registry.send/2
.
generates the correct via term to call this registry.
if :use_multiverses
is activated, then the via term will look like:
{:via, Registry, {reg, {universe, key}}}
If it's not, the via term will look like:
{:via, Registry, {reg, key}}