multiverses v0.2.0 Multiverses.Registry View Source

This module is intended to be a drop-in replacement for Registry, though currently not all functionality is implemented.

Link to this section Summary

Functions

retrives all processes stored in the registry by their keys. If multiverses are activated, then this shards the registry by universe, and the caller will only be able to see processes in its universe.

retrives a process stored in the registry by its key. If multiverses are activated, then this shards the registry by universe, and the caller will only be able to see processes in its universe.

Registers the calling process with the Registry. Works as Registry.register/3 does.

Link to this section Functions

retrives all processes stored in the registry by their keys. If multiverses are activated, then this shards the registry by universe, and the caller will only be able to see processes in its universe.

Link to this macro

get(registry, key)

View Source (macro)

retrives a process stored in the registry by its key. If multiverses are activated, then this shards the registry by universe, and the caller will only be able to see processes in its universe.

Link to this macro

register(registry, key, value)

View Source (macro)

Registers the calling process with the Registry. Works as Registry.register/3 does.

If multiverses have not been activated, then nil is placed as the registry value.