
"vicente.botet" <vicente.botet@wanadoo.fr> writes:
Why you don't want to provide completion callbacks? Have you another proposal for completion callbacks?
I don't like them because you're chaining work onto the thread that sets the future value, and that strikes me as dangerous.
Maybe you could open the interface and return the last callback setting. This will result in a chain of responsabilities and the client must be aware of that with thow potential problems: growing stack and clients forgetting its responsabilities.
I really don't see the need for multiple wait callbacks. Anthony -- Anthony Williams | Just Software Solutions Ltd Custom Software Development | http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL