[Bug 54010] Plugins should have async API to create accounts
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Aug 28 11:26:36 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=54010
--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-08-28 09:26:36 UTC ---
>From IRC discussion, I understand you were unsure about create_async vs.
commit_async.
I feel as though if anything is async, committing ought to be async
(intuitively, it's the thing that ought to take time and be failable).
On the other hand, for your usage in UOA, you can't return the object-path tail
synchronously... so account creation can't usefully be sync either?
There is also the issue that UOA is currently the only thing overriding
create() (true?), which makes create() rather useless. I wish we'd thought
about this before merging create().
I'm tempted to merge a branch I'm working on (which combines McdStorage into
McdPluginAccountManager) before this one, so that you don't have to write so
much boilerplate...
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list