add function body to NotifyChange and Cancel#314
add function body to NotifyChange and Cancel#314ksa-triovega wants to merge 2 commits intoTalAloni:masterfrom
Conversation
|
Hey, I would like to move this forward whenever you get a chance. Let me know if there is anything I can adjust to make the review easier. |
|
I appreciate you providing this new functionality and contributing this code. New functionality has to be vetted extensively to ensure that it's usable by most users and that I can support it, |
093b856 to
5c5c764
Compare
d8327d6 to
4910252
Compare
|
Hi, apologies for the delay in getting to this
|
|
Hi, thank you for your feedback.
I removed the thread from library then and that means the user of the library has to wrap it into a thread and resubscribe if he wishes it to. Is this more appropriate? |
Hi,
I added function body to your functions:
Is it okay to use:
ThreadPool.QueueUserWorkItem(()=>...)here? Or would you rather have sync call (without extra thread)?The lines:
are only to cancel the recursive call.
Now the client can use it like the following code:
PS: I will add unit tests later, if the concept idea is okay.