DEV Community

Discussion on: Round Robin implementation in C#

Collapse
 
virenderkverma profile image
virender verma

You using List inside roundRobinList object . Have you used function reference in roundrobinlist.

For example , We have 10 function . But we want call each function 1 by 1 and pass some parameters to functions .

Like 10 scraper but each scraper have different logic inside it.

So, I want pass URL to scraper functions 1 by 1.

Collapse
 
alialp profile image
Ali Alp

sorry for the late response, Nope I am using T which gives you the freedom to do whatever type you prefer .
for your use case : create the list of the functions with and then pass the list to the roundrobin then you can achieve your goal .
let me know if you needed help on that .