-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow any term to be a coordinator name
This comes from when the name was the name of a registered process, and hence the Erlang registry required it be an atom, but now it is an opaque term stored in a persistent term, hence allowing the flexibility for it to be any term allows us to create coordinators dynamically. One example of when this might be desired is when coordinating members of a groupchat: when the groupchat is created, a coordinator is created with the name of the groupchat, and the members will add themselves to this coordinator. This way, they can coordinate setting presences and messages within the namespace of that room alone.
- Loading branch information
1 parent
9279382
commit 96ab7d2
Showing
2 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters