Ticket #6180: deferred-conclusions.patch
| File deferred-conclusions.patch, 2.2 KB (added by teratorn, 4 months ago) |
|---|
-
defer-intro.xhtml
549 549 <h2>Conclusion</h2> 550 550 551 551 <p> 552 You have been introduced to asynchronous code and have seen how to 553 use <code base="twisted.internet.defer" class="API">Deferred</code>s to: 552 Having been introduced to asynchronous code using 553 <code base="twisted.internet.defer" class="API">Deferred</code> objects, 554 you have seen how to use them for... 554 555 555 556 <ul> 556 <li>Do something after an asynchronous operation completes557 <li>Doing something after an asynchronous operation completes 557 558 successfully</li> 558 <li>Us ethe result of a successful asynchronous operation</li>559 <li>Catch errors in asynchronous operations</li>560 <li>Do one thing if an operation succeeds, and a different thing if it559 <li>Using the result of a successful asynchronous operation</li> 560 <li>Catching errors in asynchronous operations</li> 561 <li>Doing one thing if an operation succeeds, and a different thing if it 561 562 fails</li> 562 <li>Do something after an error has been handled successfully</li>563 <li>Wrap multiple asynchronous operations with one error handler</li>564 <li>Do something after an asynchronous operation, regardless of whether it563 <li>Doing something after an error has been handled successfully</li> 564 <li>Wraping multiple asynchronous operations with one error handler</li> 565 <li>Doing something after an asynchronous operation, regardless of whether it 565 566 succeeded or failed</li> 566 567 </ul> 567 568 </p> 568 569 569 570 <p> 570 Th is covers the very basic useof571 These are the very basic uses of 571 572 <code base="twisted.internet.defer" class="API">Deferred</code>. For 572 573 detailed information about how they work, how to combine multiple Deferreds, 573 574 and how to write code that mixes synchronous and asynchronous APIs, see 574 the <a href="defer.xhtml">reference documentation</a>. Alternatively, read 575 about how to write functions that <a href="gendefer.xhtml">generate 576 Deferreds</a>. 575 the <a href="defer.xhtml">Deferred reference</a>. Alternatively, read about 576 how to write functions that <a href="gendefer.xhtml">generate Deferreds</a>. 577 577 </p> 578 578 579 579 </body>
