-
Notifications
You must be signed in to change notification settings - Fork 44
Description
I looked through the documentation for a bit, but couldn't spot anything that would allow for returning multiple results at different times.
Example usecases for this would be a Node Script that starts multiple async jobs (like starting multiple web requests) and would like to return the result of each job as soon as it is done, without having to wait for each of them to complete.
Example implemententions on the JS side could look like an (async) generator function or a callback that can be called multiple times.
What the C# side of the implementation for the above methods could look like isnt clear to me.
The C# call could possibly provide one (or multiple!?) methods that would be called upon a callback/result.
It's perfectly reasonable if you declare this to be utterly out of scope - in this case, does anyone reading this happen to know of alternative libraries which provide such funcionality?
Thank you for your time either way.