new RoundRobinEventHubSelectionStrategy(peers)
Constructor.
Parameters:
Name | Type | Description |
---|---|---|
peers |
Array.<Peer> | The list of peers that the strategy can chose from |
Methods
-
getNextPeer()
-
Gets the next peer in the list of peers
Returns:
- Type
- Peer