View Source ebus_ps_pg (ebus v0.3.0)

This module provides an abstraction for pg (OTP 23 or higher) and pg2 (OTP 22 or lower).

Link to this section Summary

Link to this section Functions

-spec child_spec() -> supervisor:child_spec().
-spec get_members(Group :: atom()) -> [pid()].
-spec join(Group :: atom(), Pid :: pid()) -> ok.
-spec leave(Group :: atom(), Pid :: pid()) -> ok.