git.iko.soy/distributed-process
on master help sign in
Improve docs
commit9c6cf0d61bd7b285caa6d7340d9d35fab6e8200a authorEdsko de Vries <edsko@edsko.net> dateTue 17 Jul 2012, 11:38 (14 years ago) parentc7d7f5b
1 file changed+3−2
distributed-process-simplelocalnet/src/Control/Distributed/Process/Backend/SimpleLocalnet.hs+3−2
distributed-process-simplelocalnet/src/Control/Distributed/Process/Backend/SimpleLocalnet.hs+3−2
@@ -135,8 +135,9 @@ import Control.Distributed.Process.Backend.SimpleLocalnet.Internal.Multicast (in
135135data Backend = Backend {
136136 -- | Create a new local node
137137 newLocalNode :: IO Node.LocalNode
138− -- | @findPeers t@ sends out a /who's there?/ request, waits 't' msec,
139− -- and then collects and returns the answers
138+ -- | @findPeers t@ broadcasts a /who's there?/ message on the local
139+ -- network, waits 't' msec, and then collects and returns the answers.
140+ -- You can use this to dynamically discover peer nodes.
140141 , findPeers :: Int -> IO [NodeId]
141142 -- | Make sure that all log messages are printed by the logger on the
142143 -- current node