Future cancellation

Sam L'ecuyer sam at cateches.is
Tue Apr 30 11:01:03 PDT 2013


> Lucas Smith wrote:
>> IMO, cancelation is not appropriate for promises/futures. (sticking 
>> with the name "promises", sorry for the distraction).

> Agreed.

Perhaps I'm missing something, but is cancel() conceptually different from passing a Future's corresponding Resolver around so that the program can invoke reject() at will?  This seems like it's a new, "irretrievably broken" way to do something you already can do.

-sam





More information about the es-discuss mailing list