Closed alfetahe closed 2 months ago
@alfetahe this looks good; is it possible for us to tweak the signatures to support both :slave
and :peer
and dispatch dynamically based on OTP version? I don't want to enforce OTP 25+ for this lib just yet.
This is being superseded by #30. Thank you for your time spent here!
The old :slave module is deprecated and will be removed from OTP 27. I replaced the :slave module with the :peer module. I fixed the tests. This change is not backward compatible because the :peer module starts
{:ok, pid, peer}
wherepid
is used to shutdown the peer nodes andpeer
is used as the node name. Meaning thestart_nodes/3
function should also include thepid
from now on.