Device task source

Hi,

the Contacts draft currently refers to a "device task source". It uses it notably in its find operation, where if there's an existing ongoing task from this source an error is dispatched.

The problem is that this is a generic task source (at least in name), which means that Calendar, for instance, would also use it. But it doesn't make sense to error on contacts.find() if I call calendar.findEvent().

So is the solution to:

  a) have different task sources for each spec (in which case a name change is in order);
  b) have the cancellation trigger only if a similar operation is ongoing.

I'm thinking (b). I can implement this change once we agree (I have to massage the whole task source situation anyway).

-- 
Robin Berjon - http://berjon.com/

Received on Wednesday, 30 March 2011 16:53:03 UTC