|
@@ -1,4 +1,5 @@
|
|
|
|
|
|
|
|
+
|
|
[](https://travis-ci.org/ostinelli/syn) [](https://hex.pm/packages/syn)
|
|
[](https://travis-ci.org/ostinelli/syn) [](https://hex.pm/packages/syn)
|
|
|
|
|
|
|
|
|
|
@@ -322,6 +323,16 @@ Types:
|
|
|
|
|
|
> The order of member pids in the returned array is guaranteed to be the same on every node, however it is not guaranteed to match the order of joins.
|
|
> The order of member pids in the returned array is guaranteed to be the same on every node, however it is not guaranteed to match the order of joins.
|
|
|
|
|
|
|
|
+To know if a process is a local member of a group:
|
|
|
|
+
|
|
|
|
+```erlang
|
|
|
|
+syn:local_member(Pid, GroupName) -> boolean().
|
|
|
|
+
|
|
|
|
+Types:
|
|
|
|
+ Pid = pid()
|
|
|
|
+ GroupName = any()
|
|
|
|
+```
|
|
|
|
+
|
|
To publish a message to all local group members:
|
|
To publish a message to all local group members:
|
|
|
|
|
|
```erlang
|
|
```erlang
|