Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- peerSharingClientCollect :: forall peer (m :: Type -> Type). Monad m => [PeerSharingAmount] -> PeerSharingClient peer m [peer]
- peerSharingServerReplicate :: forall (m :: Type -> Type). Monad m => Fun Word8 Int -> PeerSharingServer Int m
Documentation
peerSharingClientCollect :: forall peer (m :: Type -> Type). Monad m => [PeerSharingAmount] -> PeerSharingClient peer m [peer] Source #
A client which collects answers whenever it receives
MsgSharePeers
and returns the result.