M
Marty McDonald
I'm creating a helper class which will make it easier to use another class.
The helper class will have one method (let's call it "Go") that will need to
perform extensive operations. Yet I want apps who use the helper class to
remain responsive. I think my options are...
A) Encourage consumers to invoke "Go" asynchronously (via documentation).
B) Implement "Go" so that it invokes a private method asynchronously, then
immediately returns.
I don't want the consumers to be burdened with events and/or threads. Is
this the best way to protect consumers from a lengthly wait?
Thanks!
The helper class will have one method (let's call it "Go") that will need to
perform extensive operations. Yet I want apps who use the helper class to
remain responsive. I think my options are...
A) Encourage consumers to invoke "Go" asynchronously (via documentation).
B) Implement "Go" so that it invokes a private method asynchronously, then
immediately returns.
I don't want the consumers to be burdened with events and/or threads. Is
this the best way to protect consumers from a lengthly wait?
Thanks!