SkillAgentSearch skills...

Ppg

Plumtree based Distributed Process Group

Install / Use

/learn @sile/Ppg
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ppg

hex.pm version

Plumtree based Process Group

Build

$ git clone git@github.com:sile/ppg.git
$ cd ppg/
$ ./rebar3 compile

Usage Examples

$ make start
> ppg:create(foo).

> ppg:which_groups().
[foo].

> {ok, Channel} = ppg:join(foo, self()).
> lists:foreach(fun (_) -> ppg:join(foo, self()) end, lists:seq(1, 4)).

> ppg:broadcast(Channel, bar).
> flush().
Shell got bar
Shell got bar
Shell got bar
Shell got bar
Shell got bar
ok

API

See EDoc Documents

Reference

License

This library is released under the MIT License.

See the LICENSE file for full license information.

View on GitHub
GitHub Stars17
CategoryDevelopment
Updated2y ago
Forks0

Languages

Erlang

Security Score

80/100

Audited on Jul 25, 2023

No findings