<div dir="ltr"><div><div><div><div><div><div><div>Good morning community,<br><br></div>is there someone who can suggest me a way to create more interest requests one by one from a consumer to a producer?<br></div>My idea is to create a dynamic number of interest packets which depend on the dimension of the file that the consumer requests.<br></div>At the moment I am not using a good way to do that, because I call the method "face.expressInterest" recursively inside the onData callback for the next request. <br></div>Is there a smarter way? <br></div>I tried using async functions, but it has not been a good idea, because it requires some sleeps and it is unsafe.<br><br></div>Thank you.<br></div>Giuseppe.<br></div>