diff options
author | Kali Kaneko <kali@leap.se> | 2014-01-31 03:34:03 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-01-31 11:24:50 -0400 |
commit | 0f6a8e1c83995cffec51e81f626d4bb29d4f7345 (patch) | |
tree | 97d068f620403b4042058fcb6d6566c06a910177 /src/leap/mail/imap/service/__init__.py | |
parent | ff7de0c9bc760e097c0286d2d62a19095be3f35e (diff) |
properly implement deferreds in several commands
Passing along a deferred as an observer whose callback will be
called with the proper result.
Returning to thread in the appropiate points.
just let's remember that twisted APIs are not thread safe!
SoledadStore process_item also properly returned to thread.
Changed @deferred to @deferred_to_thread so it results less
confusing to read.
"know the territory". aha!
Diffstat (limited to 'src/leap/mail/imap/service/__init__.py')
0 files changed, 0 insertions, 0 deletions